timeout check X - X X
timeout client X X X -
timeout client-fin X X X -
+timeout client-hs X X X -
timeout connect X - X X
-timeout handshake X X X -
timeout http-keep-alive X X X X
timeout http-request X X X X
timeout queue X - X X
See also : "timeout client", "timeout server-fin", and "timeout tunnel".
+timeout client-hs <timeout>
+ Set the maximum time to wait for a client TLS handshake to complete. This is
+ usable both for TCP and QUIC connections.
+ May be used in sections : defaults | frontend | listen | backend
+ yes | yes | yes | no
+ Arguments :
+ <timeout> is the timeout value specified in milliseconds by default, but
+ can be in any other unit if the number is suffixed by the unit,
+ as explained at the top of this document.
+
+ If this handshake timeout is not set, this is the client timeout which is used
+ in place.
+
+
timeout connect <timeout>
Set the maximum time to wait for a connection attempt to a server to succeed.
May be used in sections : defaults | frontend | listen | backend
See also: "timeout check", "timeout queue", "timeout server", "timeout tarpit".
-timeout handshake <timeout>
- Set the maximum time to wait for a client TLS handshake to complete. This is
- usable both for TCP and QUIC connections.
- May be used in sections : defaults | frontend | listen | backend
- yes | yes | yes | no
- Arguments :
- <timeout> is the timeout value specified in milliseconds by default, but
- can be in any other unit if the number is suffixed by the unit,
- as explained at the top of this document.
-
- If this handshake timeout is not set, this is the client timeout which is used
- in place.
-
timeout http-keep-alive <timeout>
Set the maximum allowed time to wait for a new HTTP request to appear
May be used in sections : defaults | frontend | listen | backend
int queue; /* queue timeout, defaults to connect if unspecified */
int connect; /* connect timeout (in ticks) */
int server; /* server I/O timeout (in ticks) */
- int handshake; /* maximum time for handshake completion */
+ int client_hs; /* maximum time for client handshake completion */
int httpreq; /* maximum time for complete HTTP request */
int httpka; /* maximum time for a new HTTP request when using keep-alive */
int check; /* maximum time for complete check */
tv = &proxy->timeout.tarpit;
td = &defpx->timeout.tarpit;
cap = PR_CAP_FE | PR_CAP_BE;
- } else if (strcmp(args[0], "handshake") == 0) {
- tv = &proxy->timeout.handshake;
- td = &defpx->timeout.handshake;
+ } else if (strcmp(args[0], "client-hs") == 0) {
+ tv = &proxy->timeout.client_hs;
+ td = &defpx->timeout.client_hs;
cap = PR_CAP_FE;
} else if (strcmp(args[0], "http-keep-alive") == 0) {
tv = &proxy->timeout.httpka;
if (curproxy->cap & PR_CAP_FE) {
curproxy->timeout.client = defproxy->timeout.client;
- curproxy->timeout.handshake = defproxy->timeout.handshake;
+ curproxy->timeout.client_hs = defproxy->timeout.client_hs;
curproxy->timeout.clientfin = defproxy->timeout.clientfin;
curproxy->timeout.tarpit = defproxy->timeout.tarpit;
curproxy->timeout.httpreq = defproxy->timeout.httpreq;
TRACE_ENTER(QUIC_EV_CONN_NEW, qc);
- timeout = px->timeout.handshake ? px->timeout.handshake : px->timeout.client;
+ timeout = px->timeout.client_hs ? px->timeout.client_hs : px->timeout.client;
qc->idle_timer_task = task_new_here();
if (!qc->idle_timer_task) {
TRACE_ERROR("Idle timer task allocation failed", QUIC_EV_CONN_NEW, qc);
if (cli_conn->flags & (CO_FL_WAIT_XPRT | CO_FL_EARLY_SSL_HS)) {
int timeout;
int clt_tmt = p->timeout.client;
- int hs_tmt = p->timeout.handshake;
+ int hs_tmt = p->timeout.client_hs;
if (unlikely((sess->task = task_new_here()) == NULL))
goto out_free_sess;