aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 8f2c9bca..a16bf62d 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1504,7 +1504,9 @@ do_read (struct MHD_Connection *connection)
1504 { 1504 {
1505 /* other side closed connection */ 1505 /* other side closed connection */
1506 connection->read_closed = MHD_YES; 1506 connection->read_closed = MHD_YES;
1507 SHUTDOWN (connection->socket_fd, SHUT_RD); 1507 /* shutdown is not required here, as the other side already
1508 knows; so flagging this internally should suffice */
1509 /* SHUTDOWN (connection->socket_fd, SHUT_RD); */
1508 return MHD_YES; 1510 return MHD_YES;
1509 } 1511 }
1510 connection->read_buffer_offset += bytes_read; 1512 connection->read_buffer_offset += bytes_read;