Skip to content

v0.6.47

Choose a tag to compare

@owner888 owner888 released this 13 Oct 09:29
· 402 commits to main since this release

Changed

  • pig web closes a WebSocket that has been silent for two of its pings (about a minute) — an iPad with its lid shut, a tab iOS has suspended. It pinged every 25 seconds but never checked for the pong, so a gone peer stayed bound to its session, with events piling up behind it, until TCP gave up many minutes later. The page reconnects when it wakes and loads the conversation again.

Removed

  • The socket protocol's own {"type":"ping"} / pong messages. The page never sent them; keep-alive is the WebSocket protocol's ping and pong, which a browser answers by itself.