summaryrefslogtreecommitdiff
path: root/cups
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2020-11-02 11:28:55 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2020-11-02 11:28:55 -0500
commit3f4421bca9fb31035aacb29569ebbbe3fe0ec9fc (patch)
treeb777701c1884fc41d8dc9240687d0644e4cb51ff /cups
parent35b1a2fac1b0db76f2e6c98c7cdeee54f770034b (diff)
Use listen backlog of 128, not 5.
Diffstat (limited to 'cups')
-rw-r--r--cups/http-addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/http-addr.c b/cups/http-addr.c
index 86749c848..8e81c6f7d 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);