gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed response clean


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed response cleanup regression introduced by e264d9ec9ef98e6f26f5f547ec941927a35ffa56
Date: Tue, 16 May 2017 20:12:04 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 28ca8714 Fixed response cleanup regression introduced by 
e264d9ec9ef98e6f26f5f547ec941927a35ffa56
28ca8714 is described below

commit 28ca87140129b554b5d77b55f422bddb8880b40a
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Tue May 16 21:11:46 2017 +0300

    Fixed response cleanup regression introduced by 
e264d9ec9ef98e6f26f5f547ec941927a35ffa56
---
 src/microhttpd/connection.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 8a190053..f6fa7836 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3175,7 +3175,11 @@ MHD_connection_handle_idle (struct MHD_Connection 
*connection)
                 }
               /* Response is not required anymore for this connection. */
               if (NULL != connection->response)
-                MHD_destroy_response (connection->response);
+                {
+                  struct MHD_Response const *resp = connection->response;
+                  connection->response = NULL;
+                  MHD_destroy_response (resp);
+                }
               continue;
             }
 #endif /* UPGRADE_SUPPORT */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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