aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index d8b0f79d..e9613c4e 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2664,9 +2664,6 @@ cleanup_connection (struct MHD_Connection *connection)
2664{ 2664{
2665 struct MHD_Daemon *daemon = connection->daemon; 2665 struct MHD_Daemon *daemon = connection->daemon;
2666 2666
2667 /* FIXME: when can this flag ever be needed? Sounds like we should
2668 avoid this happening in the first place. Also, could there then
2669 not be a race in this case? */
2670 if (connection->in_cleanup) 2667 if (connection->in_cleanup)
2671 return; /* Prevent double cleanup. */ 2668 return; /* Prevent double cleanup. */
2672 connection->in_cleanup = true; 2669 connection->in_cleanup = true;