libmicrohttpd

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

commit a60850c633663e38f858adbd6cf3310b63ee50d0
parent 639bedbdcb037654285687aa9eead8592fea5dd1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 17 Sep 2008 14:11:20 +0000

fixing 1425

Diffstat:
Msrc/daemon/connection.c | 7-------
Msrc/daemon/daemon.c | 6++++++
2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/daemon/connection.c b/src/daemon/connection.c @@ -31,12 +31,6 @@ #include "response.h" #include "reason_phrase.h" -#ifndef LINUX -#ifndef MSG_NOSIGNAL -#define MSG_NOSIGNAL 0 -#endif -#endif - /** * Message to transmit when http 1.1 request is received */ @@ -1634,7 +1628,6 @@ MHD_connection_handle_write (struct MHD_Connection *connection) connection->state = MHD_CONNECTION_NORMAL_BODY_UNREADY; break; } - /* TODO clean - missing MSG_NOSIGNAL on gnutls record send call */ #if HTTPS_SUPPORT if (connection->daemon->options & MHD_USE_SSL) { diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c @@ -59,6 +59,12 @@ */ #define DEBUG_CONNECT MHD_NO +#ifndef LINUX +#ifndef MSG_NOSIGNAL +#define MSG_NOSIGNAL 0 +#endif +#endif + #if HTTPS_SUPPORT /** * Note: code duplication with code in gnutls_priority.c