mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-25 07:41:36 +02:00
MINOR: mux-quic: use timeout server for backend conns
Use timeout server in qcc_init() as default timeout for backend connections. No impact for the moment as QUIC backend support is not implemented.
This commit is contained in:
parent
07bf8f4d86
commit
b6309456d0
@ -1818,7 +1818,8 @@ static int qc_init(struct connection *conn, struct proxy *prx,
|
|||||||
qcc->proxy = prx;
|
qcc->proxy = prx;
|
||||||
/* haproxy timeouts */
|
/* haproxy timeouts */
|
||||||
qcc->task = NULL;
|
qcc->task = NULL;
|
||||||
qcc->timeout = prx->timeout.client;
|
qcc->timeout = conn_is_back(qcc->conn) ? prx->timeout.server :
|
||||||
|
prx->timeout.client;
|
||||||
if (tick_isset(qcc->timeout)) {
|
if (tick_isset(qcc->timeout)) {
|
||||||
qcc->task = task_new_here();
|
qcc->task = task_new_here();
|
||||||
if (!qcc->task)
|
if (!qcc->task)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user