From: Michael R Sweet Date: Mon, 2 Nov 2020 16:28:55 +0000 (-0500) Subject: Use listen backlog of 128, not 5. X-Git-Tag: v2.3.3op1~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f4421bca9fb31035aacb29569ebbbe3fe0ec9fc;p=thirdparty%2Fcups.git Use listen backlog of 128, not 5. --- diff --git a/CHANGES-OPENPRINTING.md b/CHANGES-OPENPRINTING.md index 00dccc3571..fdaa0a7413 100644 --- a/CHANGES-OPENPRINTING.md +++ b/CHANGES-OPENPRINTING.md @@ -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. diff --git a/cups/http-addr.c b/cups/http-addr.c index 86749c8485..8e81c6f7db 100644 --- a/cups/http-addr.c +++ b/cups/http-addr.c @@ -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);