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
I haven't fully diagnosed this yet, and I'm happy to continue to do so, but I'd like to open it in case you can eyeball the issue.
Dream eventually callsWebsocketaf.Wsd.close ~code:(`Other code) socket in response to the client closing the WebSocket. As I understand it, it's normal to attempt to send a close code from the server in an attempt to perform the WebSocket close handshake.
This seems to trigger an infinite loop in WebSocket. Omitting ~code:(`Other code) causes the server to close the WebSocket successfully without getting stuck in an infinite loop.
This wasn't the behavior as of 2021. Looking at the blame for this code
If not, I can proceed with direct debugging, or git bisect (which requires me to rebase the renaming commits or unvendor websocket/af into a Dune workspace).
The text was updated successfully, but these errors were encountered:
I haven't fully diagnosed this yet, and I'm happy to continue to do so, but I'd like to open it in case you can eyeball the issue.
Dream eventually calls
Websocketaf.Wsd.close ~code:(`Other code) socket
in response to the client closing the WebSocket. As I understand it, it's normal to attempt to send a close code from the server in an attempt to perform the WebSocket close handshake.This seems to trigger an infinite loop in WebSocket. Omitting
~code:(`Other code)
causes the server to close the WebSocket successfully without getting stuck in an infinite loop.This wasn't the behavior as of 2021. Looking at the blame for this code
https://github.com/anmonteiro/websocketaf/blob/28abb768916f606287a2eb05a5d6a4aa11ec31b6/lib/wsd.ml#L110-L125
...specifically, the
Some code
case, I wonder if you can spot whether any of these commits could be triggering this infinite loop behavior:If not, I can proceed with direct debugging, or
git bisect
(which requires me to rebase the renaming commits or unvendor websocket/af into a Dune workspace).The text was updated successfully, but these errors were encountered: