]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Re-add AP_DEBUG_ASSERTs that were wrongly removed in r982050
authorStefan Fritsch <sf@apache.org>
Wed, 4 Aug 2010 19:47:18 +0000 (19:47 +0000)
committerStefan Fritsch <sf@apache.org>
Wed, 4 Aug 2010 19:47:18 +0000 (19:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982382 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/event.c
server/mpm/event/fdqueue.c

index df320b5667798e304ab2b11a7f32fc5eea7d9bd6..371eb6620d24abba70164b9300f001e43fe6a494 100644 (file)
@@ -1155,6 +1155,7 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t * thd, void *dummy)
                                  ap_server_conf,
                                  "event_loop: unexpected state %d",
                                  cs->state);
+                    AP_DEBUG_ASSERT(0);
                 }
 
                 apr_thread_mutex_lock(timeout_mutex);
index 7d7d4d019e367ee2b31fa335b74ec2d08b47072d..10015b7d39d705f3b9b9a4772166e44f69e6b877 100644 (file)
@@ -165,6 +165,7 @@ apr_status_t ap_queue_info_wait_for_idler(fd_queue_info_t * queue_info)
                                       queue_info->idlers_mutex);
             if (rv != APR_SUCCESS) {
                 apr_status_t rv2;
+                AP_DEBUG_ASSERT(0);
                 rv2 = apr_thread_mutex_unlock(queue_info->idlers_mutex);
                 if (rv2 != APR_SUCCESS) {
                     return rv2;