mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04: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
1 changed files with 2 additions and 1 deletions
|
|
@ -1818,7 +1818,8 @@ static int qc_init(struct connection *conn, struct proxy *prx,
|
|||
qcc->proxy = prx;
|
||||
/* haproxy timeouts */
|
||||
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)) {
|
||||
qcc->task = task_new_here();
|
||||
if (!qcc->task)
|
||||
|
|
|
|||
Loading…
Reference in a new issue