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
We currently buffer WebSocket opening until first LastHttpContent reception with the UpgradeCallback .
This doesn't make sense, and forces us to buffer any frame that might be sent along with the upgrade response.
WebSocketHandler and WebSocketUpgradeHandler need serious clean up:
Drop UpgradeHandler that's never used as an abstraction
Perform upgrade/abort as soon as response is received
Ignore LastHttpContent
No need to buffer any frame
The text was updated successfully, but these errors were encountered:
Motivation:
We currently buffer WebSocket opening until first LastHttpContent
reception with the UpgradeCallback.
This doesn't make sense, and forces us to buffer any frame that might
be sent along with the upgrade response.
Modifications:
* Drop UpgradeHandler that's never used as an abstraction
* Perform upgrade/abort as soon as response is received
* Ignore LastHttpContent
* No need to buffer any frame
Result:
More simple code
Motivation:
We currently buffer WebSocket opening until first LastHttpContent
reception with the UpgradeCallback.
This doesn't make sense, and forces us to buffer any frame that might
be sent along with the upgrade response.
Modifications:
* Drop UpgradeHandler that's never used as an abstraction
* Perform upgrade/abort as soon as response is received
* Ignore LastHttpContent
* No need to buffer any frame
Result:
More simple code
… Handler, close#1364
Motivation:
Installing the WebSocket handler can trigger a read, so if there's a
pending frame that was send along the HTTP upgrade response, we could
crash because the handler is not properly configured yet.
This is a regression caused by #1348.
Modifications:
Buffer frames until WebSocket is fully open.
Result:
No more crash when frames are sent along the HTTP upgrade response.
We currently buffer WebSocket opening until first
LastHttpContent
reception with theUpgradeCallback
.This doesn't make sense, and forces us to buffer any frame that might be sent along with the upgrade response.
WebSocketHandler
andWebSocketUpgradeHandler
need serious clean up:UpgradeHandler
that's never used as an abstractionLastHttpContent
The text was updated successfully, but these errors were encountered: