发布

  • fix: load balancer panics, stealth flag, shadow DOM polyfill

    frostbyte_neo 发布于 2026-04-25 12:27:52 +00:00 | 1111 次提交 在此版本后已推送到 main

    Fixes #1: replace unwrap() panics in run_multi_worker_serve with match on the Result.
    Fixes #2: route /json round-robin via worker_port instead of hardcoded port+1.
    Fixes #3: return 502 Bad Gateway when a worker is unreachable instead of silently dropping the connection.
    Fixes #5: thread --stealth through start_with_options -> CdpContext -> BrowserContext::with_options so the flag actually has an effect in serve mode (was let _ before). Log message now reflects the actual capability based on the stealth cargo feature being compiled in.
    Fixes #15: try/catch the parentNode assignment in the attachShadow polyfill so it doesn't throw a TypeError against the read-only Node.parentNode getter (Cloudflare Turnstile triggers this path).

    下载附件