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 made a websocket proxy with Deno. And when I try to stop it, the server won't stop if there is one active WebSocket.
Closing the websocket won't fix the issue.
Version: Deno 2.2.3
Context
I made a websocket proxy with Deno. And when I try to stop it, the server won't stop if there is one active WebSocket.
Closing the websocket won't fix the issue.
How to reproduce it
Create two files:
Run
deno run -A proxy.ts
anddeno run -A websocketEcho.ts
Use a websocket client to connect to the proxy, like
websocat ws://localhost:3030/
Try to quit the
proxy.ts
using CTRL+CExpected behavior
The server should stop. And the
socket
andremoteSocket
should close.Actual behavior
remoteSocket
closessocket
doesn't closesocket
closes if you try to send a message to the proxy.The text was updated successfully, but these errors were encountered: