mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-22 13:46:52 +00:00
MINOR: listener: remove unneeded local accept flag
Remove the receiver RX_F_LOCAL_ACCEPT flag. This was used by QUIC protocol before thread rebinding was supported by the quic_conn layer. This should be backported up to 2.7 after the previous patch has also been taken.
This commit is contained in:
parent
1acbbca171
commit
0783a7b08e
@ -33,7 +33,6 @@
|
||||
#define RX_F_BOUND 0x00000001 /* receiver already bound */
|
||||
#define RX_F_INHERITED 0x00000002 /* inherited FD from the parent process (fd@) */
|
||||
#define RX_F_MWORKER 0x00000004 /* keep the FD open in the master but close it in the children */
|
||||
#define RX_F_LOCAL_ACCEPT 0x00000008 /* do not use a tasklet for accept, connections will be accepted on the current thread */
|
||||
|
||||
/* Bit values for rx_settings->options */
|
||||
#define RX_O_FOREIGN 0x00000001 /* receives on foreign addresses */
|
||||
|
@ -1096,9 +1096,6 @@ void listener_accept(struct listener *l)
|
||||
|
||||
|
||||
#if defined(USE_THREAD)
|
||||
if (l->rx.flags & RX_F_LOCAL_ACCEPT)
|
||||
goto local_accept;
|
||||
|
||||
mask = l->rx.bind_thread & _HA_ATOMIC_LOAD(&tg->threads_enabled);
|
||||
if (atleast2(mask) && (global.tune.options & GTUNE_LISTENER_MQ) && !stopping) {
|
||||
struct accept_queue_ring *ring;
|
||||
|
Loading…
Reference in New Issue
Block a user