rproxy: send its own answers at once to a visitor that stops sending its body (closes #303)
check / check (push) Failing after 5m23s
check / check (push) Failing after 5m23s
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
This commit is contained in:
1 parent
f64752e3b7
commit
3c75f29f3c
3 files changed
+24
-35
No files matched your search
@@ -2355,6 +2355,10 @@ These limits apply per request, in both directions:
|
||||
than 10 seconds. The status and headers of the app's answer also have at least
|
||||
10 seconds to be sent.
|
||||
|
||||
`rproxy` may give its own answer, such as a refusal, before the visitor has sent
|
||||
its whole body. The visitor gets that answer at once, and the connection closes
|
||||
after it.
|
||||
|
||||
The largest request line and headers is 32 KiB. A kept-open connection is closed
|
||||
after 120 seconds idle. Neither has a setting. traefik, by default, closes an
|
||||
unused connection after 90 seconds. So traefik closes first, and never sends a
|
||||
|
||||
Reference in new issue
Block a user