mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-16 03:25:02 +00:00
* 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 5eb7b70df7d1e25ffb4ce267126c122f94c181fd) Signed-off-by: Simone Bordet <simone.bordet@gmail.com>