Author: grothoff Date: 2008-02-25 19:13:47 -0700 (Mon, 25 Feb 2008) New Revision: 6461
Modified: libmicrohttpd/src/daemon/connection.c Log: fix Modified: libmicrohttpd/src/daemon/connection.c =================================================================== --- libmicrohttpd/src/daemon/connection.c 2008-02-25 22:25:21 UTC (rev 6460) +++ libmicrohttpd/src/daemon/connection.c 2008-02-26 02:13:47 UTC (rev 6461) @@ -654,8 +654,9 @@ case MHD_CONNECTION_CONTINUE_SENT: if (connection->read_buffer_offset == connection->read_buffer_size) try_grow_read_buffer (connection); - if (connection->read_buffer_offset < connection->read_buffer_size) - do_fd_set (fd, read_fd_set, max_fd); + if ( (connection->read_buffer_offset < connection->read_buffer_size) && + (MHD_NO == connection->read_closed) ) + do_fd_set (fd, read_fd_set, max_fd); break; case MHD_CONNECTION_BODY_RECEIVED: case MHD_CONNECTION_FOOTER_PART_RECEIVED: _______________________________________________ GNUnet-SVN mailing list GNUnet-SVN@gnu.org http://lists.gnu.org/mailman/listinfo/gnunet-svn