mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 23:27:04 +02:00
BUG/MINOR: quic/trace: make quic_conn_enc_level_init() emit NEW not CLOSE
The event emitted by this trace was of type CLOSE instead of NEW, which would somtimes temporarily pause a started trace. This can be backported to 3.0, probably 2.6.
This commit is contained in:
parent
7a22fbd453
commit
6bf50dfccc
@ -199,7 +199,7 @@ static int quic_conn_enc_level_init(struct quic_conn *qc,
|
||||
int ret = 0;
|
||||
struct quic_enc_level *qel;
|
||||
|
||||
TRACE_ENTER(QUIC_EV_CONN_CLOSE, qc);
|
||||
TRACE_ENTER(QUIC_EV_CONN_NEW, qc);
|
||||
|
||||
qel = pool_alloc(pool_head_quic_enc_level);
|
||||
if (!qel)
|
||||
@ -259,7 +259,7 @@ static int quic_conn_enc_level_init(struct quic_conn *qc,
|
||||
*el = qel;
|
||||
ret = 1;
|
||||
leave:
|
||||
TRACE_LEAVE(QUIC_EV_CONN_CLOSE, qc);
|
||||
TRACE_LEAVE(QUIC_EV_CONN_NEW, qc);
|
||||
return ret;
|
||||
|
||||
err:
|
||||
|
Loading…
Reference in New Issue
Block a user