]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: quic: Fixe a typo in qc_idle_timer_task()
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 20 May 2022 18:50:59 +0000 (20:50 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 20 May 2022 18:57:31 +0000 (20:57 +0200)
The & operator was confused with | operator :-(

src/xprt_quic.c

index 444b7acf7df106849565a21134770f33cf7cf255..4a56e1eee5be0f3baf99b6694d87ee46ca1112be 100644 (file)
@@ -4559,7 +4559,7 @@ static struct task *qc_idle_timer_task(struct task *t, void *ctx, unsigned int s
         * a TLS alert was received from the TLS stack, this counter
         * has already been decremented.
         */
-       if (qc_state < QUIC_HS_ST_COMPLETE && !(qc_flags|QUIC_FL_CONN_TLS_ALERT))
+       if (qc_state < QUIC_HS_ST_COMPLETE && !(qc_flags & QUIC_FL_CONN_TLS_ALERT))
                HA_ATOMIC_DEC(&prx_counters->conn_opening);
 
        return NULL;