8 Commits
Author SHA1 Message Date
MrAlders0n cb7cfb1e9c fix(ws): send nothing, not everything, to a subscription whose regions have no IATAs (#299)
The subscribe is still acknowledged, so clients that wait for it keep working.
2026-11-19 09:33:22 -05:00
MrAlders0n 695cbbe2aa fix(ws): send Safari and iOS clients uncompressed frames
iOS WebKit drops the socket on the first permessage-deflate message, so every iPhone and iPad browser reconnected about every 0.1 s since 2.1.0. Compress only for Chromium, Firefox and the app.
2026-10-31 16:40:19 -04:00
MrAlders0n 2021d2c306 feat(ws): optionally require an Origin or a server-issued ticket on /ws 2026-10-31 14:43:18 -04:00
MrAlders0n a39a830955 feat(ws): add a per-connection send budget and cap IPv6 per /64 2026-10-31 14:27:54 -04:00
MrAlders0n cda59f0f59 perf(ws): negotiate permessage-deflate with context takeover
Replaying a recorded all-regions feed: 3.07x fewer bytes on the wire for
browsers (Node ws) and dart:io alike, server CPU unchanged, ~1.4 MB heap
per compressed socket. Clients that don't offer the extension are unchanged.
2026-10-26 13:00:24 -04:00
MrAlders0n 876d99704f feat(ws): opt-in includeRepeats streams later hearings over new paths (#178)
Duplicate observations are dropped before the hub today, so a live map only sees each packet's first hearing per observer. Clients that configure includeRepeats also get later hearings whose path is new; nothing is stored, repeats skip the count query, and they are dropped first when the broadcast channel is half full.
2026-09-27 20:38:49 -04:00
MrAlders0n 90f9b50614 feat(ws): allow subdomain wildcards in allowed origins (#177) 2026-09-27 20:03:49 -04:00
MrAlders0n dec643a2ad feat(ws): opt-in allowed origins and observer key (#170) 2026-09-27 11:41:11 -04:00