You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**Default Upstream Timeout**| Upstream | 30s | Time allowed for backend to respond |
53
+
26
54
## Read Timeout
27
55
28
-
**Read Timeout** sets the maximum amount of time for a downstream client to complete a single HTTP request. The time starts when a request is begun and ends either when Pomerium has proxied the entire request body to the upstream service, or when Pomerium has begun sending a response back to the client.
56
+
**Read Timeout** sets the maximum duration allowed for the entire downstream HTTP request to be received. This timeout starts when the downstream client initiates the request and ends when Pomerium has fully received the complete request (including headers and body) from the client.
29
57
30
-
This timeout is disabled if set to `0`. (This is not recommended, as a malicious client could consume significant resources by beginning many incomplete requests.)
58
+
Setting this timeout to `0` disables it. (This is not recommended, as it could allow malicious clients to consume resources with slow or incomplete requests.)
31
59
32
60
### How to configure
33
61
@@ -72,9 +100,9 @@ timeouts:
72
100
73
101
## Write Timeout
74
102
75
-
**Write Timeout** sets the maximum time for a single HTTP request/response pair to fully complete. This should be greater than the [**Read Timeout**](#read-timeout) setting as this includes both the request and response time.
103
+
**Write Timeout** sets the maximum duration allowed for an entire HTTP request/response cycle to complete. This includes both the time to receive the request from the downstream client and the time to send the complete response back. This timeout should be greater than the [**Read Timeout**](#read-timeout) setting as it encompasses the entire request/response lifecycle.
76
104
77
-
This timeout is disabled if set to `0`.
105
+
Setting this timeout to `0` disables it, meaning there is no time limit for request/response completion.
78
106
79
107
### How to configure
80
108
@@ -119,9 +147,9 @@ timeouts:
119
147
120
148
## Idle Timeout
121
149
122
-
**Idle Timeout** sets the time at which an upstream or downstream connection will be terminated if there are no active requests/responses.
150
+
**Idle Timeout** sets the duration after which an upstream or downstream connection will be terminated if there are no active requests or responses.
123
151
124
-
This timeout is disabled if set to `0`.
152
+
Setting this timeout to `0` disables it, allowing connections to remain open indefinitely when idle.
0 commit comments