Index: src/daemon/connection.c =================================================================== --- src/daemon/connection.c (revision 13729) +++ src/daemon/connection.c (working copy) @@ -1456,7 +1456,7 @@ /* other side closed connection */ connection->read_closed = MHD_YES; SHUTDOWN (connection->socket_fd, SHUT_RD); - return MHD_NO; + return MHD_YES; } connection->read_buffer_offset += bytes_read; return MHD_YES;