update rustls v0.20.7 -> v0.21.0 (#137)
* deps: update to rustls 0.21.0. This commit updates tokio-rustls to use the freshly released Rustls 0.21.0 release tag, and the rustls-webpki fork of webpki. * tests: improve server wait in early data test. Previously the `test_0rtt` test had a hardcoded 1s sleep waiting for an `openssl s_server` process to become ready. If 1s waiting wasn't long enough, the test could fail with an error like: ``` Error: Os { code: 10061, kind: ConnectionRefused, message: "No connection could be made because the target machine actively refused it." } ``` This commit replaces the hardcoded sleep with a sleep loop that gradually increases the delay time up to a fixed maximum. This makes the test run faster when the server is ready quickly and prevents an error if it takes longer than 1s to stabilize. * version: 0.23.4 -> 0.24.0pull/1/head
parent
7dfc981020
commit
07e8da6e52
Loading…
Reference in new issue