]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Honor ftp_port worker-queues option (#1061)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Sun, 29 May 2022 22:34:28 +0000 (22:34 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 1 Jun 2022 10:44:53 +0000 (10:44 +0000)
src/client_side.cc

index 5b61e0a7105a0e5ba072176c9cee7072f8a3e2d5..276170c052c057916437502a8279c69fe4fc9990 100644 (file)
@@ -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<CommAcceptCbPtrFun> AcceptCall;