Files
browser/src
Karl Seguin 23ab2df58e mem: reclaim large WS buffer
We'll grow the WS read buffer up to cdp-max-message-size (1MB default), but
never reclaim that space. A lot of drivers send large message upfront and then
settle into sending smaller ones.

This commit shrinks the buffer to 256KB (or cdp-max-message-size, whichever is
smaller) after 8 consecutive small message (tracking consecutive messages to
prevent a spat of allocation -> shink -> allocation -> shrink ->...)
2026-07-03 10:46:39 +08:00
..
2026-07-02 21:06:51 +08:00
2026-04-22 08:42:18 +08:00
2026-06-24 17:44:58 +08:00
2026-07-03 10:46:39 +08:00
2026-06-29 08:05:05 +02:00
2026-06-01 22:42:39 +08:00
2026-07-02 08:46:22 +03:00
2026-06-24 18:16:02 +08:00
2026-06-24 18:16:02 +08:00
2026-05-29 09:32:03 +08:00
2026-04-10 06:51:10 +08:00
2026-06-24 18:16:02 +08:00
2026-07-02 11:23:45 +02:00
2026-06-24 07:01:29 +08:00
2026-05-25 18:05:11 +02:00
2026-01-24 07:59:41 +08:00
2026-06-17 13:56:40 +08:00