axum-server
axum-server copied to clipboard
High level server designed to be used with axum framework.
https://github.com/programatik29/axum-server/blob/86bc6e7311959285ff00815843a8d702affe51d9/src/tls_rustls/mod.rs#L278 This is wrong as the axum server doesn't necessarily support http2.
I really do like the easy of working with axum and axum-server. It is straightforward to set up TLS _and_ reload it, which is awesome when used with certificates that...
Thanks for great work. Currently hyper dependency version is mentioned as "1.0.1". This does not allow to use latest version like "1.4.0", etc. If we signify only minor version like...
I'm trying to build an example where the connection is automatically closed after 5 seconds. It's not working. I was able to do it directly with hyper with the [echo](https://github.com/hyperium/hyper/blob/master/examples/echo.rs)...
The hyper v1 migration PR (#93) accidentally (?) removed the call to `serve_future.graceful_shutdown()`, which prevents the server from shutting down until all client _connections_ close on their own (or we...
Here is a MWA: ```rs use axum_server_dual_protocol::ServerExt; // (1) fn main() { let app = axum::Router::new().route("/", axum::routing::get(|| async {})); tokio::runtime::Runtime::new().unwrap().block_on(async { let tls_config = axum_server::tls_rustls::RustlsConfig::from_pem_file("cert.pem", "key.pem") .await .unwrap(); let addr...
Rustls panics with > > thread 'main' panicked at C:\Users\Ben\.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustls-0.23.13\src\crypto\mod.rs:265:14: > no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point > note: run with `RUST_BACKTRACE=1` environment variable to display...
Updates the requirements on [tower-http](https://github.com/tower-rs/tower-http) to permit the latest version. Release notes Sourced from tower-http's releases. v0.6.0 Changed: body module is disabled except for catch-panic, decompression-*, fs, or limit features...
This PR changes dependencies to be more careful about the default features enabled. Now HTTP/1 and HTTP/2 are enabled by default *but* can be disabled if so desired. There is...