gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6461 - libmicrohttpd/src/daemon


From: gnunet
Subject: [GNUnet-SVN] r6461 - libmicrohttpd/src/daemon
Date: Mon, 25 Feb 2008 19:13:49 -0700 (MST)

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:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]