rproxy: leave no visitor without an answer as the response time runs out (closes #295)
check / check (push) Failing after 4m37s
check / check (push) Failing after 4m37s
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
This commit was merged in pull request #297.
This commit is contained in:
1 parent
db0912b335
commit
aeaa9d1c77
5 files changed
+134
-13
No files matched your search
@@ -2345,7 +2345,9 @@ These limits apply per request, in both directions:
|
||||
- `SWRP_MAX_RESPONSE_TIME_MS` runs from the end of the request to the last byte
|
||||
of the answer reaching the visitor. The request ends when the app has been
|
||||
sent all of it, or when the app's answer arrives if that is sooner. An answer
|
||||
`rproxy` gives itself has the whole time from when it starts.
|
||||
`rproxy` gives itself has the whole time from when it starts, and never less
|
||||
than 10 seconds. The status and headers of the app's answer also have at least
|
||||
10 seconds to be sent.
|
||||
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user