rproxy: send its own answers at once to a visitor that stops sending its body (closes #303) #304

Merged
clawbot merged 1 commits from issue-303-own-answers-at-once into next 2026-11-10 23:57:52 +01:00
1 Commits
Author SHA1 Message Date
sneak 4c5aef63bc rproxy: send its own answers at once to a visitor that stops sending its body (closes #303)
check / check (push) Failing after 18m11s
An answer rproxy gives itself, such as a deny or a refusal, waited while
Go's server read up to 256 KiB of a body that had not arrived whole. A
visitor that stopped sending got nothing until SWRP_MAX_REQUEST_TIME_MS
ran out, and no bytes at all once that was past the 10 seconds the
answer has to be sent.

send now sets Connection: close in that case, as modifyResponse does for
the app's answer; both call closeAfterAnswer. requestTimedOut no longer
ends that read of Go's server, which no longer happens, so the time the
app's answer started is no longer noted.

Model: opus-5-5
2026-11-10 22:28:39 +00:00