diff options
author | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-21 10:03:36 +0000 |
---|---|---|
committer | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-21 10:03:36 +0000 |
commit | bd3648222b7729702f5a1ffcef3b8bafa49d4220 (patch) | |
tree | 1fafa2d635c321daa093c4329f1fff4702a2e768 /src/Sockets.c | |
parent | 1332446b87c6822bbc1ffdc0db2fb3e409749203 (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.c | 2 |
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); |