From faebf665dda8755b6a7b55e7ff0408451f80e267 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Fri, 28 Nov 2003 23:54:01 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2711 --- client/http.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/http.C b/client/http.C index b621cdb3da..56d0d84c2b 100644 --- a/client/http.C +++ b/client/http.C @@ -433,6 +433,9 @@ bool HTTP_OP_SET::poll() { htp->http_op_state = HTTP_STATE_REPLY_HEADER; htp->want_upload = false; htp->want_download = true; + // We don't need to write to the socket anymore. This + // closes the read fd on the receiving side. + shutdown(htp->socket, SHUT_WR); break; case HTTP_OP_POST2: htp->http_op_state = HTTP_STATE_REQUEST_BODY1;