Skip to content

Bump axum-server from 0.8.0 to 0.9.0 in /test-utils/test-server - #144

Merged
falk-werner merged 1 commit into
mainfrom
dependabot/cargo/test-utils/test-server/axum-server-0.9.0
Nov 13, 2026
Merged

falk-werner merged 1 commit into
mainfrom
dependabot/cargo/test-utils/test-server/axum-server-0.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps axum-server from 0.8.0 to 0.9.0.

Release notes

Sourced from axum-server's releases.

v0.9.0

  • added: Server::first_request_timeout, which closes connections that do not send a request in time. This also covers the protocol detection read that hyper does before any HTTP timeout applies.
  • added: Server::accept_error_handler, which reports connection accept errors instead of silently dropping them.
  • added: TLS acceptors now add axum_server::tls::TlsInfo (SNI, ALPN, and client certificates) to request extensions as Arc<TlsInfo> for both rustls and OpenSSL.
  • added: axum_server::accept::LocalAddrAcceptor adds the local socket address of the connection to request extensions as LocalAddr.
  • added: RustlsConfig::from_sni_pem_files, which selects the certificate using the server name sent by the client through SNI.
  • added: the tls-rustls-encrypted-keys feature and RustlsConfig::from_pem_with_password plus file and reload variants, for encrypted PKCS#8 private keys.
  • added: accept::TcpConfigAcceptor, accept::TcpSocketConfig, and accept::TcpKeepaliveConfig apply TCP_NODELAY and TCP keepalive settings to accepted connections.
  • added: a timeouts example showing the request, header, keep-alive, and TLS handshake timeouts.
  • added: a reverse_proxy example that terminates TLS and forwards requests to an HTTP upstream.
  • breaking: TLS acceptors now return a tls::TlsService wrapper service. Custom acceptors that wrap a TLS acceptor and assume the service type is unchanged need to be updated; examples/rustls_session.rs now uses the built-in TlsInfo.
  • fixed: Handle::listening() now returns None after a bind failure instead of waiting forever, and no longer races with server startup.
  • fixed: RustlsConfig::from_pem_chain_file now sets the h2 and http/1.1 ALPN protocols like the other RustlsConfig constructors.
  • fixed: Connections that are still performing the TLS handshake are now cancelled on shutdown instead of keeping a task and file descriptor alive until the handshake timeout.
  • fixed: A timer is now installed by default, so header_read_timeout and keep_alive_timeout no longer panic with "timeout set, but no timer set".
  • fixed: from_tcp and from_unix now put the provided listener into non-blocking mode, as required by Tokio. The from_std_listener examples work without extra setup.
  • fixed: Server::acceptor and Server::map now preserve the HTTP version selected by http1_only/http2_only.
  • changed: The tls-rustls feature now enables TLS 1.2, restoring the behavior from before 0.7.0.
  • changed: fs-err is now an optional dependency and is only pulled in by the rustls features.
Changelog

Sourced from axum-server's changelog.

0.9.0 (6. November 2026)

  • added: Server::first_request_timeout, which closes connections that do not send a request in time. This also covers the protocol detection read that hyper does before any HTTP timeout applies.
  • added: Server::accept_error_handler, which reports connection accept errors instead of silently dropping them.
  • added: TLS acceptors now add axum_server::tls::TlsInfo (SNI, ALPN, and client certificates) to request extensions as Arc<TlsInfo> for both rustls and OpenSSL.
  • added: axum_server::accept::LocalAddrAcceptor adds the local socket address of the connection to request extensions as LocalAddr.
  • added: RustlsConfig::from_sni_pem_files, which selects the certificate using the server name sent by the client through SNI.
  • added: the tls-rustls-encrypted-keys feature and RustlsConfig::from_pem_with_password plus file and reload variants, for encrypted PKCS#8 private keys.
  • added: accept::TcpConfigAcceptor, accept::TcpSocketConfig, and accept::TcpKeepaliveConfig apply TCP_NODELAY and TCP keepalive settings to accepted connections.
  • added: a timeouts example showing the request, header, keep-alive, and TLS handshake timeouts.
  • added: a reverse_proxy example that terminates TLS and forwards requests to an HTTP upstream.
  • breaking: TLS acceptors now return a tls::TlsService wrapper service. Custom acceptors that wrap a TLS acceptor and assume the service type is unchanged need to be updated; examples/rustls_session.rs now uses the built-in TlsInfo.
  • fixed: Handle::listening() now returns None after a bind failure instead of waiting forever, and no longer races with server startup.
  • fixed: RustlsConfig::from_pem_chain_file now sets the h2 and http/1.1 ALPN protocols like the other RustlsConfig constructors.
  • fixed: Connections that are still performing the TLS handshake are now cancelled on shutdown instead of keeping a task and file descriptor alive until the handshake timeout.
  • fixed: A timer is now installed by default, so header_read_timeout and keep_alive_timeout no longer panic with "timeout set, but no timer set".
  • fixed: from_tcp and from_unix now put the provided listener into non-blocking mode, as required by Tokio. The from_std_listener examples work without extra setup.
  • fixed: Server::acceptor and Server::map now preserve the HTTP version selected by http1_only/http2_only.
  • changed: The tls-rustls feature now enables TLS 1.2, restoring the behavior from before 0.7.0.
  • changed: fs-err is now an optional dependency and is only pulled in by the rustls features.
Commits
  • d456d10 Merge pull request #200 from programatik29/release/0.9.0
  • b66eddc Version 0.9.0
  • d5e59a9 Merge pull request #198 from programatik29/feature/tcp-socket-options
  • 5d15eb7 feat(accept): add TCP socket option acceptor
  • 66117ae Merge pull request #197 from programatik29/feature/tls-config-conveniences
  • 59b7814 feat(tls-rustls): add SNI certificate selection and encrypted keys
  • dc6c073 Merge pull request #196 from programatik29/feature/connection-info
  • bf02c3d feat(tls): expose TLS connection info and local address to handlers
  • 4a992c9 Merge pull request #195 from programatik29/feature/server-timeout-and-errors
  • cf74b72 feat(server): add first request timeout and accept error handler
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [axum-server](https://github.com/programatik29/axum-server) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/programatik29/axum-server/releases)
- [Changelog](https://github.com/programatik29/axum-server/blob/master/CHANGELOG.md)
- [Commits](programatik29/axum-server@v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: axum-server
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Nov 13, 2026
@falk-werner
falk-werner merged commit cf9c6bf into main Nov 13, 2026
2 checks passed
@falk-werner
falk-werner deleted the dependabot/cargo/test-utils/test-server/axum-server-0.9.0 branch November 13, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant