jetty.project/jetty-proxy
Simone Bordet 5eb7b70df7
Fixes #7348 - Slow CONNECT request causes NPE (#7349)
* Fixes #7348 - Slow CONNECT request causes NPE

Added NPE guard in `HttpReceiverOverHTTP.onUpgradeFrom()`.
Expanded logic in `HttpReceiverOverHTTP.parse()` to return true in case of CONNECT + 200.

Fixed `ProxyConnection.toConnectionString()` to avoid NPEs.

Fixed `HttpClientTest.testCONNECTWithHTTP10()` logic
after changes to fix this issue.

Now a tunneled connection is not put back into the connection pool,
and if applications explicitly want to use it, they must re-enable
fill interest, similarly to what should be done after upgrade+101.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-01-04 10:35:09 +01:00
..
src Fixes #7348 - Slow CONNECT request causes NPE (#7349) 2022-01-04 10:35:09 +01:00
pom.xml Updating to version 9.4.45-SNAPSHOT 2021-09-27 18:22:11 -05:00