From 9403196ad0b67b13d4fefdc4d3da6625d66be34e Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Tue, 8 Dec 2015 20:48:44 +0000 Subject: Change default listen backlog size from 32 to SOMAXCONN, allow to specify required listen backlog size --- src/microhttpd/internal.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/microhttpd/internal.h') 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 */ unsigned int fastopen_queue_size; #endif + + /** + * The size of queue for listen socket. + */ + unsigned int listen_backlog_size; }; -- cgit v1.2.3