haproxy/include/haproxy/quic_sock-t.h
Amaury Denoyelle 2ce99fe4bf MINOR: quic: create accept queue for QUIC connections
Create a new type quic_accept_queue to handle QUIC connections accept.
A queue will be allocated for each thread. It contains a list of
listeners which contains at least one quic_conn ready to be accepted and
the tasklet to run listener_accept for these listeners.
2022-01-26 16:13:51 +01:00

13 lines
406 B
C

#ifndef _HAPROXY_QUIC_SOCK_T_H
#define _HAPROXY_QUIC_SOCK_T_H
#ifdef USE_QUIC
/* QUIC connection accept queue. One per thread. */
struct quic_accept_queue {
struct mt_list listeners; /* QUIC listeners with at least one connection ready to be accepted on this queue */
struct tasklet *tasklet; /* task responsible to call listener_accept */
};
#endif /* USE_QUIC */
#endif /* _HAPROXY_QUIC_SOCK_T_H */