- Add
CapacityError
,UrlError
, andProtocolError
types to represent the different types of capacity, URL, and protocol errors respectively. - Modify variants
Error::Capacity
,Error::Url
, andError::Protocol
to hold the above errors types instead of string error messages. - Add
handshake::derive_accept_key
to facilitate external handshakes. - Add support for
rustls
as TLS backend. The previoustls
feature flag is now removed in favor ofnative-tls
andrustls-tls
, which allows to pick the TLS backend. The error API surface had to be changed to support the new error types coming from rustls related crates.
- Add facilities to allow clients to follow HTTP 3XX redirects.
- Allow accepting unmasked clients on the server side to be compatible with some legacy / invalid clients.
- Update of dependencies and documentation fixes.