]> granicus.if.org Git - apache/commitdiff
On the trunk:
authorStefan Eissing <icing@apache.org>
Tue, 18 Apr 2017 12:15:12 +0000 (12:15 +0000)
committerStefan Eissing <icing@apache.org>
Tue, 18 Apr 2017 12:15:12 +0000 (12:15 +0000)
mod_http2: normalize zombie slot state before pushing it on the free list.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1791773 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_workers.c

index 9c7afc64e6c0750882810e1f0a81c7fcfae3d10d..0bbb65223f7b1f0f1ec968db9981a64f74d8bdab 100644 (file)
@@ -143,6 +143,7 @@ static void cleanup_zombies(h2_workers *workers)
             slot->thread = NULL;
         }
         apr_atomic_dec32(&workers->worker_count);
+        slot->next = NULL;
         push_slot(&workers->free, slot);
     }
 }