Loading tests/server/sws.c +3 −1 Original line number Diff line number Diff line Loading @@ -183,6 +183,7 @@ static const char *doc404 = "HTTP/1.1 404 Not Found\r\n" "The requested URL was not found on this server.\n" "<P><HR><ADDRESS>" SWSVERSION "</ADDRESS>\n" "</BODY></HTML>\n"; #ifndef WIN32 # if defined(SIGPIPE) && defined(HAVE_SIGNAL) static volatile int sigpipe; /* Why? It's not used */ static void sigpipe_handler(int sig) Loading @@ -191,6 +192,7 @@ static void sigpipe_handler(int sig) sigpipe = 1; } # endif #endif static int ProcessRequest(struct httprequest *req) { Loading Loading
tests/server/sws.c +3 −1 Original line number Diff line number Diff line Loading @@ -183,6 +183,7 @@ static const char *doc404 = "HTTP/1.1 404 Not Found\r\n" "The requested URL was not found on this server.\n" "<P><HR><ADDRESS>" SWSVERSION "</ADDRESS>\n" "</BODY></HTML>\n"; #ifndef WIN32 # if defined(SIGPIPE) && defined(HAVE_SIGNAL) static volatile int sigpipe; /* Why? It's not used */ static void sigpipe_handler(int sig) Loading @@ -191,6 +192,7 @@ static void sigpipe_handler(int sig) sigpipe = 1; } # endif #endif static int ProcessRequest(struct httprequest *req) { Loading