You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
In case of HTTP CONNECT tunnelling with HTTP/1.1, the upstream server may close the connection immediately.
In such case, there is a race condition trying to write the 200 OK (for a successful tunnel establishment) and closing the connection (because the server closed it immediately).
The client may not see the 200 OK that it is supposed to see, and just see the connection closed.
The text was updated successfully, but these errors were encountered:
sbordet
added
Bug
For general bugs on Jetty side
Sponsored
This issue affects a user with a commercial support agreement
labels
Jan 17, 2023
…ing 200 OK.
Delaying the call to UpstreamConnection.fillInterested() until the 200 OK response has been sent.
Signed-off-by: Simone Bordet <[email protected]>
#9184)
* Fixes#9183 - ConnectHandler may close the connection instead of sending 200 OK.
Delaying the call to UpstreamConnection.fillInterested() until the 200 OK response has been sent.
Signed-off-by: Simone Bordet <[email protected]>
Jetty version(s)
10+
Description
In case of HTTP CONNECT tunnelling with HTTP/1.1, the upstream server may close the connection immediately.
In such case, there is a race condition trying to write the 200 OK (for a successful tunnel establishment) and closing the connection (because the server closed it immediately).
The client may not see the 200 OK that it is supposed to see, and just see the connection closed.
The text was updated successfully, but these errors were encountered: