e3dio

Results 76 comments of e3dio

Regarding allowing the client to set headers on new connections, you should probably do the same as https://github.com/websockets/ws and https://github.com/oven-sh/bun which is allow a 2nd/3rd options parameter `new WebSocket(url, {...

I tried Linux and was only 8ms, I get 2050ms on Windows

No firewall, it connects instantly when I manually connect with TCP and do websocket handshake: ```js const port = 3007; const server = Deno.serve({ port }, req => { const...

I see the same, `127.0.0.1` gives 2ms, `localhost` gives 2050ms. I tried `fetch` instead of `new WebSocket()` and I get 310ms for `localhost` and 2ms for `127.0.0.1`, so WebSocket is...

I tried `new WebSocket('ws://localhost')` from different client (chrome browser) and I get 310ms, same for fetch. `127.0.0.1` is 2ms. So Deno WebSocket is taking 1700ms longer for some reason than...

Promise.race should have caught or handled error in this case, are you sure there was unhandledRejection or did error just get logged to console?

Are you sure there was unhandledRejection or did error just get logged to console?

Can confirm Mullvad client breaks SystemD, this needs to be fixed https://github.com/containers/podman/issues/18103#issuecomment-1563395872

The callback has `ws, code, reason` why do you have reason and message and no code ? or you renamed to confusing names ?

I get those when phones go to sleep / locks and connection closes, pretty normal but nice to have the new detailed reason messages `Received TCP FIN before WebSocket close...