aboutsummaryrefslogtreecommitdiff
path: root/src/Sockets.c
diff options
context:
space:
mode:
authorgoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-21 10:03:36 +0000
committergoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-21 10:03:36 +0000
commitbd3648222b7729702f5a1ffcef3b8bafa49d4220 (patch)
tree1fafa2d635c321daa093c4329f1fff4702a2e768 /src/Sockets.c
parent1332446b87c6822bbc1ffdc0db2fb3e409749203 (diff)
Stopping SIGPIPE on reads. Currently don't do any other error stuff
on reads. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@73 1faa4e14-9dd3-4be0-9f0e-ffe519881164
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);