dsriseah / ursys

an opinionated javascript library for prototyping realtime web apps
1 stars 2 forks source link

Chrome does not send WebSocket close frame on page reload #10

Closed dsriseah closed 1 month ago

dsriseah commented 1 month ago

The Problem

When a webapp reloads, the server has to detect the close of the connection and update its directory structure. Chrome does not seem to send a close frame. Firefox does.

Also, the messages are not being removed properly on disconnect.

The Workaround

dsriseah commented 1 month ago

Resolved in 4c31b02.