gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r6078 - in libmicrohttpd: . src/daemon
Date: Fri, 4 Jan 2008 16:04:27 -0700 (MST)

Author: grothoff
Date: 2008-01-04 16:04:27 -0700 (Fri, 04 Jan 2008)
New Revision: 6078

Modified:
   libmicrohttpd/ChangeLog
   libmicrohttpd/src/daemon/connection.c
Log:
fix

Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog     2008-01-02 23:41:35 UTC (rev 6077)
+++ libmicrohttpd/ChangeLog     2008-01-04 23:04:27 UTC (rev 6078)
@@ -1,3 +1,7 @@
+Fri Jan  4 16:02:08 MST 2008
+        Fix to properly close connection if application signals
+        problem handling the request. - AS
+
 Wed Jan  2 16:41:05 MST 2008
         Improvements and bugfixes to post processor implementation. - AS
 

Modified: libmicrohttpd/src/daemon/connection.c
===================================================================
--- libmicrohttpd/src/daemon/connection.c       2008-01-02 23:41:35 UTC (rev 
6077)
+++ libmicrohttpd/src/daemon/connection.c       2008-01-04 23:04:27 UTC (rev 
6078)
@@ -1631,6 +1631,8 @@
           continue;
         case MHD_CONNECTION_HEADERS_PROCESSED:
           call_connection_handler (connection); /* first call */
+          if (connection->state == MHD_CONNECTION_CLOSED)
+            continue;
           if (need_100_continue (connection))
             {
               connection->state = MHD_CONNECTION_CONTINUE_SENDING;





reply via email to

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