libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 03b1320c5d778c23639ec4f386a8cf0b704b7d42
parent a879c0bb7729cc1164cc675cc212e78e563fcbd3
Author: Nils Durner <durner@gnunet.org>
Date:   Sun, 17 Jan 2010 22:37:54 +0000

increase default connection limit on Windows

Diffstat:
Msrc/daemon/daemon.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c @@ -43,7 +43,11 @@ /** * Default connection limit. */ +#ifndef WINDOWS #define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE -4 +#else +#define MHD_MAX_CONNECTIONS_DEFAULT FD_SETSIZE +#endif /** * Default memory allowed per connection.