SirCipher
655db5b2eb
Merge remote-tracking branch 'upstream/master' into deflate-merge
...
# Conflicts:
# examples/autobahn-client.rs
# examples/autobahn-server.rs
# src/client.rs
# src/handshake/client.rs
# src/handshake/server.rs
# src/lib.rs
# src/protocol/frame/frame.rs
# src/protocol/frame/mod.rs
# src/protocol/mod.rs
# tests/connection_reset.rs
4 years ago
SirCipher
24b7af1255
Updates unit tests to check the correct headers
4 years ago
Daniel Abramov
a7daafdfc8
Merge pull request #156 from snapview/clean-ups
...
Regular maintenance
4 years ago
Daniel Abramov
fcacea7c9f
chore: apply `clippy`
4 years ago
Daniel Abramov
96d9eb75e5
chore: apply `fmt` to the whole project
4 years ago
Daniel Abramov
2638bd69c7
Merge pull request #148 from Redrield/feature/follow-3xx
...
Add facilities to allow clients to follow HTTP 3xx redirects
4 years ago
Daniel Abramov
09f5d34899
use 3 redirects as default for `connect`
4 years ago
Daniel Abramov
a8e06d2b39
clean up http error handling
4 years ago
Daniel Abramov
521f1a0767
clean up the redirect logic a bit
4 years ago
Redrield
60f7b0f024
Fix some code-review issues
...
* Replace Redirection error with a general Http error that owns the
response
* Make the default client connect function iterative instead of
recursive
* Add a limit to the amount of redirects a client will attempt to
perform
4 years ago
Redrield
6bce14fa26
Add facilities to allow clients to follow HTTP 3xx redirects
...
* The connect() function defined in this crate will automatically follow
redirecting responses.
* Adds Error::Redirection, which is a special case of Error::Http that
extracts the redirection target from the response headers, and stores it
in the error object. Client implementations that build upon tungstenite
can use this to implement redirecting.
* A catch-all solution for redirects is not possible due to the
abstraction transforming socket types to Read + Write, implementations
that use the client_* methods need to handle redirections themselves.
4 years ago
SirCipher
a282200327
Merge branch 'master' of https://github.com/swimos/tungstenite-rs into deflate-merge
...
Conflicts:
src/protocol/mod.rs
5 years ago
SirCipher
e0cadce7af
Splits client and server deflate config
5 years ago
SirCipher
31d05fbd96
Fixes decompression
5 years ago
SirCipher
fd43b07c10
Updates documentation
5 years ago
SirCipher
779514704e
Updates request header parsing
5 years ago
SirCipher
672572e00a
Splits up websocket frame and extension headers
5 years ago
SirCipher
b658064b5e
Splits client/server max_window_bits
5 years ago
SirCipher
7795ca1d08
Refactors extension handling
5 years ago
SirCipher
13cfb4db65
Refactors extension handling
5 years ago
Daniel Abramov
2e711fb6fd
Merge pull request #154 from Horki/matches_macro_fix
...
matches!: use macros; remove unused imports
5 years ago
Horki
88ff5f371f
matches!: use macros; remove unused imports
5 years ago
Daniel Abramov
2853699f31
Merge pull request #152 from snapview/dependabot/cargo/env_logger-0.8.1
...
Update env_logger requirement from 0.7.1 to 0.8.1
5 years ago
Daniel Abramov
1571e8b601
Merge pull request #146 from snapview/dependabot/cargo/base64-0.13.0
...
Update base64 requirement from 0.12.0 to 0.13.0
5 years ago
dependabot[bot]
f62bfcba0e
Update env_logger requirement from 0.7.1 to 0.8.1
...
Updates the requirements on [env_logger](https://github.com/env-logger-rs/env_logger ) to permit the latest version.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.1...v0.8.1 )
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Thomas Klapwijk
e71f19ba32
Merge pull request #4 from swimos/chunked
...
TX message chunking
5 years ago
Thomas Klapwijk
8b809f7e74
Merge pull request #2 from SirCipher/chunked
...
Outbound message chunking
5 years ago
dependabot[bot]
33f8464211
Update base64 requirement from 0.12.0 to 0.13.0
...
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64 ) to permit the latest version.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.12.0...v0.13.0 )
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Thomas Klapwijk
42e6fd8e68
Merge pull request #3 from snapview/master
...
Merge base
5 years ago
Thomas Klapwijk
cd43267e17
Merge pull request #1 from SirCipher/master
...
Permessage-deflate
5 years ago
SirCipher
710be47e1d
Changes chunk iterator to use field for chunk size
5 years ago
SirCipher
fcf56c31c5
Renames ambiguous extension type parameters
5 years ago
SirCipher
2744d1be4f
Reformat
5 years ago
SirCipher
3cf0b83949
Adds support for outbound message chunking
5 years ago
SirCipher
31b50bf6b5
Adds Default implementation for UncompressedExt
5 years ago
SirCipher
4714182f11
Resets fragments length after fragment buffer is reset
5 years ago
SirCipher
941b3f898e
Updates autobahn server example
5 years ago
SirCipher
592ee8640b
Tidy up
5 years ago
SirCipher
15621a0b9f
Refactors deflate extension
5 years ago
Daniel Abramov
96a8499533
Merge pull request #143 from phimuemue/simpl
...
Some simplifications
5 years ago
philipp
50bc1b5e90
Delegate into_client_request (4)
5 years ago
philipp
064fd9313f
Delegate into_client_request (3)
5 years ago
philipp
90345c994a
Delegate into_client_request (2)
5 years ago
philipp
4cdc2edab1
Delegate into_client_request
5 years ago
philipp
599b677f5a
Avoid temporary variable `fin`
5 years ago
SirCipher
bd170a0de6
Resolves PR comments
5 years ago
SirCipher
2be3d31ab0
Feature-gates flate2
5 years ago
SirCipher
0c8ae53633
Tidy up
5 years ago
Daniel Abramov
31e087f325
Merge pull request #140 from Redrield/fix/dedup-reason
...
Deduplicate the reason line in HTTP responses
5 years ago
Redrield
bcf2b22d9e
Deduplicate the reason line in HTTP responses
...
The impl of Display for StatusCode already includes the canonical reason
if it exists. The current implementation duplicates this (e.g. the
status line will read "101 Switching Protocols Switching Protocols", or
"400 Bad Request Bad Request".
5 years ago