diff options
Diffstat (limited to 'src/daemon/connection.c')
-rw-r--r-- | src/daemon/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/connection.c b/src/daemon/connection.c index b6c59fba..08b503d7 100644 --- a/src/daemon/connection.c +++ b/src/daemon/connection.c | |||
@@ -1140,6 +1140,7 @@ do_read (struct MHD_Connection *connection) | |||
1140 | { | 1140 | { |
1141 | /* other side closed connection */ | 1141 | /* other side closed connection */ |
1142 | connection->read_closed = MHD_YES; | 1142 | connection->read_closed = MHD_YES; |
1143 | SHUTDOWN (connection->socket_fd, SHUT_RD); | ||
1143 | return MHD_NO; | 1144 | return MHD_NO; |
1144 | } | 1145 | } |
1145 | connection->read_buffer_offset += bytes_read; | 1146 | connection->read_buffer_offset += bytes_read; |