From 049eeeb4d1b49da8375a2459e3c2537bab362746 Mon Sep 17 00:00:00 2001 From: Eduard Bagdasaryan Date: Sun, 29 May 2022 22:34:28 +0000 Subject: [PATCH] Honor ftp_port worker-queues option (#1061) --- src/client_side.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client_side.cc b/src/client_side.cc index 5b61e0a710..276170c052 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -3380,7 +3380,8 @@ clientStartListeningOn(AnyP::PortCfgPointer &port, const RefCount< CommCbFunPtrC port->listenConn->flags = COMM_NONBLOCKING | (port->flags.tproxyIntercept ? COMM_TRANSPARENT : 0) | - (port->flags.natIntercept ? COMM_INTERCEPTION : 0); + (port->flags.natIntercept ? COMM_INTERCEPTION : 0) | + (port->workerQueues ? COMM_REUSEPORT : 0); // route new connections to subCall typedef CommCbFunPtrCallT AcceptCall; -- 2.39.5