mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-29 08:39:35 +08:00
Browsers send one hostname's cookies to every port, and each `dsh web` port names its 30-day cookie after its own authority. A browser that signed in to about 70 ports therefore sent more than Node.js's 16,384 bytes of request headers to every local Host and received HTTP 431 before any handler ran. A successful root token exchange now also expires the other authorities' generated-name cookies its request carries, except the 16 with the latest claimed issue time. Cookie names, format, lifetime and the `/connect` exchange are unchanged, and a sign-in with nothing to expire answers with the same single Set-Cookie value as before. Measured with Chromium 149 against a real `dsh web`: a jar of 69 cookies (15,515 bytes of Cookie header) shrinks to 18 (3,887 bytes) after one sign-in, and two Hosts on different ports stay signed in together. A browser already over the limit still receives 431 until its site data for that hostname is cleared.