aboutsummaryrefslogtreecommitdiff
path: root/src/Sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Sockets.c')
-rw-r--r--src/Sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sockets.c b/src/Sockets.c
index 601e834..688996a 100644
--- a/src/Sockets.c
+++ b/src/Sockets.c
@@ -439,7 +439,7 @@ int HTTP_Read(httpRequest *request, char *buffer, size_t count)
connection = (httpSocket *)request->connection;
/* Currently don't do anything fancy. */
- retval = recv(connection->filedes, buffer, count,0);
+ retval = recv(connection->filedes, buffer, count,MSG_NOSIGNAL);
#ifdef HTTP_DEBUG
fprintf (stderr, "Read: `%s'\n", buffer);