jetty.project/jetty-core/jetty-tests
Simone Bordet 942e77c3c5
Fixes #6514 - How to warm up SslConnection. (#12151)
Implemented "priming" of HTTP/1.1 connections using ConnectionPool.preCreateConnections(int) and HttpClientTransportOverHTTP.setInitializeConnections(true).

This sends `OPTIONS * HTTP/1.1` to the server.

I tried to implement this feature by forcing a write of 0 bytes from the layer above `SslConnection`, but it did not work when using TLS because in both WriteFlusher and SslConnection the fact that there are 0 bytes left to write is treated specially.

Other HTTP versions have no problems because they must initialize the connection by e.g. sending a SETTINGS frame, so they would also initialize TLS.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-20 10:19:32 +02:00
..
jetty-test-client-transports Fixes #6514 - How to warm up SslConnection. (#12151) 2024-08-20 10:19:32 +02:00
jetty-test-jmx Updating to version 12.0.13-SNAPSHOT 2024-07-25 17:23:21 -05:00
pom.xml Updating to version 12.0.13-SNAPSHOT 2024-07-25 17:23:21 -05:00