gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r13738 - in libmicrohttpd: . src/daemon


From: gnunet
Subject: [GNUnet-SVN] r13738 - in libmicrohttpd: . src/daemon
Date: Thu, 18 Nov 2010 22:56:42 +0100

Author: grothoff
Date: 2010-11-18 22:56:42 +0100 (Thu, 18 Nov 2010)
New Revision: 13738

Modified:
   libmicrohttpd/ChangeLog
   libmicrohttpd/src/daemon/connection.c
Log:
patch as suggested in 1621

Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog     2010-11-18 21:52:39 UTC (rev 13737)
+++ libmicrohttpd/ChangeLog     2010-11-18 21:56:42 UTC (rev 13738)
@@ -1,3 +1,6 @@
+Thu Nov 18 22:55:58 CET 2010
+       Fixing #1621 (socket not closed under certain circumstances). -CG/jaredc
+
 Wed Nov 17 12:16:53 CET 2010
        Allowing signalling of errors in generating chunked responses to
        clients (by closing connectins) using the new

Modified: libmicrohttpd/src/daemon/connection.c
===================================================================
--- libmicrohttpd/src/daemon/connection.c       2010-11-18 21:52:39 UTC (rev 
13737)
+++ libmicrohttpd/src/daemon/connection.c       2010-11-18 21:56:42 UTC (rev 
13738)
@@ -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;




reply via email to

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