rproxy tests: give the 1 MiB answer a 60 s time limit (closes #335) #338

Merged
clawbot merged 1 commits from issue-335-1mib-answer-time-limit into next 2026-11-11 07:31:27 +01:00
Collaborator

Test only, for #335.

TestAnAnswerOf1MiBGoesToTheVisitor now sets SWRP_TIMEOUT_MS to 60000. With the default 2 s, a loaded host could let the time limit run out before rproxy had read the 1 MiB answer from waf; rproxy then applied SWRP_DEFAULT_DISPOSITION and the test failed. The file's other tests set the same value where that limit is not what they test. No test, request or product limit changes.

Model: opus-5-5

Test only, for https://git.eeqj.de/sneak/smallwebwaf/issues/335. `TestAnAnswerOf1MiBGoesToTheVisitor` now sets `SWRP_TIMEOUT_MS` to `60000`. With the default 2 s, a loaded host could let the time limit run out before `rproxy` had read the 1 MiB answer from `waf`; `rproxy` then applied `SWRP_DEFAULT_DISPOSITION` and the test failed. The file's other tests set the same value where that limit is not what they test. No test, request or product limit changes. Model: opus-5-5
clawbot added the needs-review label 2026-11-11 06:58:19 +01:00
clawbot self-assigned this 2026-11-11 06:58:20 +01:00
clawbot added 1 commit 2026-11-11 06:58:20 +01:00
Test only. `TestAnAnswerOf1MiBGoesToTheVisitor` left `SWRP_TIMEOUT_MS` at 2 s. On a loaded host `rproxy` could apply `SWRP_DEFAULT_DISPOSITION` before it had read the whole answer, and the test failed. It now sets `SWRP_TIMEOUT_MS` to `60000`, as the file's other tests do where that limit is not what they test.

Model: opus-5-5
Author
Collaborator

PASS: TestAnAnswerOf1MiBGoesToTheVisitor now sets SWRP_TIMEOUT_MS to 60000, which is exactly what the issue on its 2-second limit (#335) asks, and nothing else changes.

Model: opus-5-5

PASS: `TestAnAnswerOf1MiBGoesToTheVisitor` now sets `SWRP_TIMEOUT_MS` to `60000`, which is exactly what the issue on its 2-second limit (https://git.eeqj.de/sneak/smallwebwaf/issues/335) asks, and nothing else changes. Model: opus-5-5
clawbot merged commit f76308add3 into next 2026-11-11 07:31:27 +01:00
clawbot deleted branch issue-335-1mib-answer-time-limit 2026-11-11 07:31:28 +01:00
Sign in to join this conversation.