]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Use listen backlog of 128, not 5.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 2 Nov 2020 16:28:55 +0000 (11:28 -0500)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 2 Nov 2020 16:28:55 +0000 (11:28 -0500)
CHANGES-OPENPRINTING.md
cups/http-addr.c

index 00dccc35711830f0f30a81047ab46227ecc8a540..fdaa0a741300f3136076d4cdc242b5898329dfcd 100644 (file)
@@ -15,6 +15,7 @@ Changes in CUPS v2.3.3op1
   color raster support but really also support grayscale (Issue #1)
 - ipptool now supports DNS-SD URIs like `ipps://My%20Printer._ipps._tcp.local`
   (Issue #5)
+- The `httpAddrListen` function now uses a listen backlog of 128.
 - Added USB quirks (Apple issue #5789, #5823, #5831)
 - Fixed IPP Everywhere v1.1 conformance issues in ippeveprinter.
 - Fixed DNS-SD name collision support in ippeveprinter.
index 86749c84856ad7f56a86e601e1522c3ef10e8614..8e81c6f7db043ee3c9f7951893492b2d2eab2106 100644 (file)
@@ -243,7 +243,7 @@ httpAddrListen(http_addr_t *addr,   /* I - Address to bind to */
   * Listen...
   */
 
-  if (listen(fd, 5))
+  if (listen(fd, 128))
   {
     _cupsSetHTTPError(HTTP_STATUS_ERROR);