Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(transport): Avoid exit after bad TLS handshake (#51)
* transport: no crash after bad TLS handshake Prevents the server exiting after a bad TLS handshake / error during accept(). Instead the connection is dropped and the server continues to serve new clients. Previously an error would bubble up from the TLS library (tested with rustls) and cause hyper to exit with: [src/main.rs:85] &e = Error( Server, Error( Accept, Custom { kind: InvalidData, error: CorruptMessage, }, ), ) * transport: add tracing error for TLS handshake failure Co-Authored-By: Lucio Franco <luciofranco14@gmail.com>
- Loading branch information