From bd3648222b7729702f5a1ffcef3b8bafa49d4220 Mon Sep 17 00:00:00 2001 From: goodale Date: Thu, 21 Sep 2000 10:03:36 +0000 Subject: 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 --- src/Sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Sockets.c') 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); -- cgit v1.2.3