diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-13 07:48:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-13 07:48:31 +0000 |
commit | aee7bbd414f4c3da9da5fec8892e12ecfd1cb900 (patch) | |
tree | e9038037ceb5b87520414780e5fcafec9d215180 | |
parent | 1e2bfba0914a0e85a736552f813875a8415c46dc (diff) | |
download | libmicrohttpd-aee7bbd414f4c3da9da5fec8892e12ecfd1cb900.tar.gz libmicrohttpd-aee7bbd414f4c3da9da5fec8892e12ecfd1cb900.zip |
for Regis (see ML)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/daemon/connection.c | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,6 @@ | |||
1 | Tue Sep 13 09:47:58 CEST 2011 | ||
2 | Try to release responses more promptly upon connection termination. -CG | ||
3 | |||
1 | Mon Sep 12 10:20:28 CEST 2011 | 4 | Mon Sep 12 10:20:28 CEST 2011 |
2 | Releasing libmicrohttpd 0.9.14. -CG | 5 | Releasing libmicrohttpd 0.9.14. -CG |
3 | 6 | ||
diff --git a/src/daemon/connection.c b/src/daemon/connection.c index 2a7fb261..c02e87cd 100644 --- a/src/daemon/connection.c +++ b/src/daemon/connection.c | |||
@@ -316,6 +316,11 @@ MHD_connection_close (struct MHD_Connection *connection, | |||
316 | MHD_destroy_response (pos->response); | 316 | MHD_destroy_response (pos->response); |
317 | pos->response = NULL; | 317 | pos->response = NULL; |
318 | } | 318 | } |
319 | if (pos->response != NULL) | ||
320 | { | ||
321 | MHD_destroy_response (pos->response); | ||
322 | pos->response = NULL; | ||
323 | } | ||
319 | } | 324 | } |
320 | 325 | ||
321 | 326 | ||