rproxy: leave no visitor without an answer as the response time runs out (closes #295) #297

Merged
clawbot merged 1 commits from issue-295-504-under-load into next 2026-11-10 20:09:19 +01:00
1 Commits
Author SHA1 Message Date
sneak eb5f4016aa rproxy: leave no visitor without an answer as the response time runs out (closes #295)
check / check (push) Successful in 3m55s
A visitor could get a closed connection and no answer when
SWRP_MAX_RESPONSE_TIME_MS ran out about when the answer started: the
write deadline passed before the first byte was written.

- An answer rproxy gives itself has at least 10 seconds to be sent.
- An app's answer that arrives once the time has run out is answered
  504.
- Otherwise the app's status and headers are sent at once, before the
  body is read, with at least 10 seconds. The exact limit applies to
  the rest.

Model: opus-5-5
2026-11-10 18:47:35 +00:00