High level server designed to be used with axum framework.
tls_openssl
, that were added as they appeared to be only in tls_rustls
:
axum_server::tls_openssl::OpenSSLConfig::from_acceptor
axum_server::tls_openssl::OpenSSLConfig::from_der
axum_server::tls_openssl::OpenSSLConfig::from_pem
axum_server::tls_openssl::OpenSSLConfig::get_inner
axum_server::tls_openssl::OpenSSLConfig::reload_from_der
axum_server::tls_openssl::OpenSSLConfig::reload_from_pem
axum_server::tls_openssl::OpenSSLConfig::reload_from_pem_file
axum_server::tls_openssl::OpenSSLConfig::reload_from_pem_chain_file
from_pem_chain_file
method for RustlsConfig
.HttpConfig
and AddrIncomingConfig
.axum
from 0.6
to 0.7
.hyper
to 1.0.1
.http2_enable_connect_protocol
, http2_max_header_list_size
,
http2_max_pending_accept_reset_streams
and http2_max_send_buf_size
methods to HttpConfig
.rustls
from 0.20
to 0.21
which affects
ServerConfig
type.tokio-rustls
from 0.23
to 0.24
which affects
TlsStream
type.Handle::graceful_shutdown
now informs connections about the
graceful shutdown.tcp_keepalive_interval
and tcp_keepalive_retries
to
AddrIncomingConfig
.Server::from_tcp
, axum_server::from_tcp
and
axum_server::from_tcp_rustls
methods to create Server
from
std::net::TcpListener
.map
, get
and get_mut
methods to access the acceptor
of Server
.RustlsConfig
: from_pem
and from_pem_file
methods now accept EC
keys.AddrIncomingConfig
to allow configuration of
hyper::server::conn::AddrIncoming
.HttpConfig::http1_header_read_timeout
.Handle::listening
return type to
Option<SocketAddr>
. If binding fails, Option::None
will be returned.HttpConfig
to allow more configuration.