diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-02-26 02:13:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-02-26 02:13:47 +0000 |
commit | 49481e1ae6a5d98def98c77ea27893c2e18c3384 (patch) | |
tree | aeee04d71565333b9b5a883a6f2946185a36cfce | |
parent | a814302ead387f3c40dc54aeccde2362169d92a6 (diff) | |
download | libmicrohttpd-49481e1ae6a5d98def98c77ea27893c2e18c3384.tar.gz libmicrohttpd-49481e1ae6a5d98def98c77ea27893c2e18c3384.zip |
fix
-rw-r--r-- | src/daemon/connection.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/daemon/connection.c b/src/daemon/connection.c index 7c153304..b6c59fba 100644 --- a/src/daemon/connection.c +++ b/src/daemon/connection.c | |||
@@ -654,8 +654,9 @@ MHD_connection_get_fdset (struct MHD_Connection *connection, | |||
654 | case MHD_CONNECTION_CONTINUE_SENT: | 654 | case MHD_CONNECTION_CONTINUE_SENT: |
655 | if (connection->read_buffer_offset == connection->read_buffer_size) | 655 | if (connection->read_buffer_offset == connection->read_buffer_size) |
656 | try_grow_read_buffer (connection); | 656 | try_grow_read_buffer (connection); |
657 | if (connection->read_buffer_offset < connection->read_buffer_size) | 657 | if ( (connection->read_buffer_offset < connection->read_buffer_size) && |
658 | do_fd_set (fd, read_fd_set, max_fd); | 658 | (MHD_NO == connection->read_closed) ) |
659 | do_fd_set (fd, read_fd_set, max_fd); | ||
659 | break; | 660 | break; |
660 | case MHD_CONNECTION_BODY_RECEIVED: | 661 | case MHD_CONNECTION_BODY_RECEIVED: |
661 | case MHD_CONNECTION_FOOTER_PART_RECEIVED: | 662 | case MHD_CONNECTION_FOOTER_PART_RECEIVED: |