mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-14 11:06:56 +02:00
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.
13 lines
406 B
C
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 */
|