thorvald-oai
13b1318f2e
Support negotiated WebSocket compression in the remote app-server client ( #57218 )
...
## What changed
Advertise `zstd-stream-v1` compression for WebSocket and Unix socket connections and use the negotiated codec for JSON-RPC messages. Retain compression history for the connection and keep plain-text messaging when compression is not negotiated.
Fragment compressed writes to respect the server's advertised frame limit, reject text messages in compressed sessions, and stop using the connection after a failed write to avoid mismatched compression history.
## Testing
Add an integration test covering compression negotiation, fragmentation, retained codec history, request/response handling, and disconnection on an uncompressed text message.
GitOrigin-RevId: 510073444ea49376a116c05214bcb79bd0bc3b50
2026-10-26 20:02:21 +00:00
..
2026-10-26 19:28:25 +00:00
2026-10-14 07:13:22 +00:00
2026-10-20 21:28:45 +00:00
2026-10-23 14:59:40 +00:00
2026-10-26 19:35:31 +00:00
2026-10-26 19:37:32 +00:00
2026-10-26 20:02:21 +00:00
2026-10-21 19:06:57 +00:00
2026-10-26 18:23:07 +00:00
2026-10-26 18:13:00 +00:00
2026-10-26 18:06:07 +00:00
2026-10-12 11:24:22 +00:00
2026-10-16 23:56:33 +00:00
2026-10-15 19:51:22 +00:00
2026-10-22 19:36:47 +00:00
2026-10-26 18:06:07 +00:00
2026-10-07 22:11:14 +00:00
2026-10-20 15:43:19 +00:00
2026-10-26 19:37:06 +00:00
2026-10-26 18:06:07 +00:00
2026-10-26 18:14:57 +00:00
2026-10-20 15:43:19 +00:00
2026-10-26 19:37:58 +00:00
2026-10-26 19:37:58 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-26 18:22:11 +00:00
2026-10-19 21:43:19 +00:00
2026-10-26 19:37:32 +00:00
2026-10-26 18:33:05 +00:00
2026-10-16 19:26:46 +00:00
2026-10-17 04:02:21 +00:00
2026-10-26 19:37:32 +00:00
2026-10-20 14:14:59 +00:00
2026-10-19 15:15:17 +00:00
2026-10-26 17:56:43 +00:00
2026-10-20 21:28:45 +00:00
2026-10-26 19:19:10 +00:00
2026-10-08 20:11:43 +00:00
2026-10-26 18:14:57 +00:00
2026-10-26 19:03:08 +00:00
2026-10-22 11:52:34 +00:00
2026-10-26 18:20:30 +00:00
2026-10-26 18:13:00 +00:00
2026-10-26 19:37:32 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 19:36:47 +00:00
2026-10-21 19:53:00 +00:00
2026-10-13 17:22:34 +00:00
2026-10-19 15:15:41 +00:00
2026-10-26 18:15:37 +00:00
2026-10-21 02:41:05 +00:00
2026-10-26 19:21:08 +00:00
2026-10-26 18:06:07 +00:00
2026-10-22 19:36:47 +00:00
2026-10-26 18:31:21 +00:00
2026-10-26 18:33:05 +00:00
2026-10-23 12:23:10 +00:00
2026-10-22 19:36:47 +00:00
2026-10-23 15:00:06 +00:00
2026-10-22 19:36:47 +00:00
2026-10-26 18:33:05 +00:00
2026-10-26 18:33:05 +00:00
2026-10-23 00:40:04 +00:00
2026-10-19 20:54:41 +00:00
2026-10-26 18:22:40 +00:00
2026-10-20 22:34:40 +00:00
2026-10-06 21:29:35 +00:00
2026-10-23 00:46:28 +00:00
2026-10-26 18:23:07 +00:00
2026-10-10 02:54:59 +00:00
2026-10-23 11:43:14 +00:00
2026-10-19 16:56:42 +00:00
2026-10-26 19:37:32 +00:00
2026-10-23 04:52:47 +00:00
2026-10-26 19:11:53 +00:00
2026-10-26 18:22:11 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-22 04:59:19 +00:00
2026-10-20 21:28:45 +00:00
2026-10-19 21:01:44 +00:00
2026-10-23 18:30:44 +00:00
2026-10-22 00:19:02 +00:00
2026-10-12 17:52:12 +00:00
2026-10-26 18:20:30 +00:00
2026-10-26 18:13:00 +00:00
2026-10-26 19:21:08 +00:00
2026-10-26 20:00:50 +00:00
2026-10-13 22:40:57 +00:00
2026-10-26 19:37:06 +00:00
2026-10-16 06:06:54 +00:00
2026-10-22 17:42:21 +00:00
2026-10-20 21:28:45 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 17:02:32 +00:00
2026-10-26 18:05:05 +00:00
2026-10-07 22:11:14 +00:00
2026-10-26 20:02:21 +00:00
2026-10-26 19:19:10 +00:00
2026-10-26 19:28:25 +00:00
2026-10-20 21:28:45 +00:00