Running rustls example results in panic on the server side
Open
- Dominant language
- Rust
- Stars
- 12.5k
- Forks
- 1.3k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 24
Description
## Bug Report
### Version
master
### Platform
Linux pop-os 6.0.6-76060006-generic x86_64
### Description
Running `tls_rustls` example results in panic on the server side:
server: `cargo run --bin tls-server-rustls`
client: `cargo run --bin tls-client-rustls`
then on server:
```
Got a request from: [::1]:59296 with certs: []
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: hyper::Error(Io, Kind(UnexpectedEof))', examples/src/tls/server_rustls.rs:88:52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
Expected behavior: example is working without errors.
Contributor guide
Assessment
This issue has not been assessed yet.