jetty.project/jetty-http2
Simone Bordet 3042f2b2bf
Fixes #7348 - Slow CONNECT request causes NPE (#7349) (#7352)
* Fixes #7348 - Slow CONNECT request causes NPE (#7349)

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>
(cherry picked from commit 5eb7b70df7)
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-01-06 11:08:12 +01:00
..
http2-client Updating to version 10.0.8-SNAPSHOT 2021-10-06 14:51:32 -05:00
http2-common #7157 add missing callback calls in H2 reset codepath 2021-11-25 10:35:30 +01:00
http2-hpack Updating to version 10.0.8-SNAPSHOT 2021-10-06 14:51:32 -05:00
http2-http-client-transport Fixes #7348 - Slow CONNECT request causes NPE (#7349) (#7352) 2022-01-06 11:08:12 +01:00
http2-server Fixes #7348 - Slow CONNECT request causes NPE (#7349) (#7352) 2022-01-06 11:08:12 +01:00
pom.xml Updating to version 10.0.8-SNAPSHOT 2021-10-06 14:51:32 -05:00