diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-12-08 20:48:44 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-12-08 20:48:44 +0000 |
commit | 9403196ad0b67b13d4fefdc4d3da6625d66be34e (patch) | |
tree | 0d0cfa403381538943edb1065d6dca550f2e9dfe /src/microhttpd/internal.h | |
parent | 8ace389d37855f16c9bef7afd70304b8d5c7da4e (diff) | |
download | libmicrohttpd-9403196ad0b67b13d4fefdc4d3da6625d66be34e.tar.gz libmicrohttpd-9403196ad0b67b13d4fefdc4d3da6625d66be34e.zip |
Change default listen backlog size from 32 to SOMAXCONN, allow to specify required listen backlog size
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 3760fefb..9e1a2901 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -1301,6 +1301,11 @@ struct MHD_Daemon | |||
1301 | */ | 1301 | */ |
1302 | unsigned int fastopen_queue_size; | 1302 | unsigned int fastopen_queue_size; |
1303 | #endif | 1303 | #endif |
1304 | |||
1305 | /** | ||
1306 | * The size of queue for listen socket. | ||
1307 | */ | ||
1308 | unsigned int listen_backlog_size; | ||
1304 | }; | 1309 | }; |
1305 | 1310 | ||
1306 | 1311 | ||