-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disable nginx session tickets for resumption test
With Nginx 1.24.0 we saw a regression in the runner `nginx` test when checking that session resumption worked as expected with a `curl` client. This commit fixes the issue by disabling `ssl_session_tickets` for the server config using `ssl_session_cache shared:...` (port 8446). Since Nginx 1.23.2, the `shared` session cache has done double duty, also managing generating, storing, and updating TLS session ticket keys. This is done primarily with the OpenSSL `SSL_CTX_set_tlsext_ticket_key_cb`/`SSL_CTX_set_tlsext_ticket_key_evp_cb` APIs, which we don't yet support. We're also not setting a ticketer for the Rustls `ServerConfig` we construct. The net result is that when using our compat shim with Nginx 1.23.2+ we need to explicitly disable session ticket support in order for the `shared` session cache to work the way we expect for classic sessions.
- Loading branch information
Showing
2 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters