diff --git a/include/haproxy/connection-t.h b/include/haproxy/connection-t.h index 132733392..634452b1f 100644 --- a/include/haproxy/connection-t.h +++ b/include/haproxy/connection-t.h @@ -116,6 +116,8 @@ enum { CO_FL_ERROR = 0x00100000, /* a fatal error was reported */ CO_FL_NOTIFY_DONE = 0x001C0000, /* any xprt shut/error flags above needs to be reported */ + CO_FL_FDLESS = 0x00200000, /* this connection doesn't use any FD (e.g. QUIC) */ + /* flags used to report connection status updates */ CO_FL_WAIT_L4_CONN = 0x00400000, /* waiting for L4 to be connected */ CO_FL_WAIT_L6_CONN = 0x00800000, /* waiting for L6 to be connected (eg: SSL) */ diff --git a/src/quic_sock.c b/src/quic_sock.c index f3faa64f5..8086ff65a 100644 --- a/src/quic_sock.c +++ b/src/quic_sock.c @@ -101,7 +101,7 @@ static int new_quic_cli_conn(struct quic_conn *qc, struct listener *l, if (!sockaddr_alloc(&cli_conn->src, saddr, sizeof *saddr)) goto out_free_conn; - cli_conn->flags |= CO_FL_ADDR_FROM_SET; + cli_conn->flags |= CO_FL_ADDR_FROM_SET | CO_FL_FDLESS; qc->conn = cli_conn; cli_conn->qc = qc;