We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustls
native-tls block when calling https://docs.rs/tokio-native-tls/latest/tokio_native_tls/native_tls/struct.TlsConnectorBuilder.html#method.build
native-tls
Sometimes this leads to a problem
❯ cargo run --release -- -n 1 -c 10 --http2 --insecure --no-tui https://localhost:8090/ Compiling oha v0.6.5 (/home/hatoo/oha) Finished release [optimized] target(s) in 6.67s Running `target/release/oha -n 1 -c 10 --http2 --insecure --no-tui 'https://localhost:8090/'` Summary: Success rate: 100.00% Total: 2.7290 secs # <- too long
Whereas rustls works well
❯ cargo run --no-default-features --features rustls --release -- -n 1 -c 10 --http2 --insecure --no-tui https://localhost:8090/ Compiling oha v0.6.5 (/home/hatoo/oha) Finished release [optimized] target(s) in 6.81s Running `target/release/oha -n 1 -c 10 --http2 --insecure --no-tui 'https://localhost:8090/'` Summary: Success rate: 100.00% Total: 0.0086 secs
We can mitigate this by playing with tokio but ... I don't want to.
tokio
The text was updated successfully, but these errors were encountered:
No branches or pull requests
native-tls
block when calling https://docs.rs/tokio-native-tls/latest/tokio_native_tls/native_tls/struct.TlsConnectorBuilder.html#method.buildSometimes this leads to a problem
Whereas
rustls
works wellWe can mitigate this by playing with
tokio
but ... I don't want to.The text was updated successfully, but these errors were encountered: