httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56034] CPU consumption due to circular linked list in ap_core_input_filter()
Date Thu, 23 Jan 2014 09:38:28 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56034

--- Comment #6 from Yann Ylavic <ylavic.dev@gmail.com> ---
The attachment 31230 suggests you use APR <= 1.4.2 (without this fix
http://svn.apache.org/viewvc?view=revision&revision=1074877).

struct apr_bucket_brigade {
    apr_pool_t *p;
    struct apr_bucket_list {
            struct apr_bucket *next;
            struct apr_bucket *prev;
    }list;
    apr_bucket_alloc_t *bucket_alloc;
}

should be (from APR 1.4.3+) :

struct apr_bucket_brigade {
    apr_pool_t *p;
    struct apr_bucket_list {
            struct apr_bucket * volatile next;
            struct apr_bucket * volatile prev;
    }list;
    apr_bucket_alloc_t *bucket_alloc;
}

Can you upgrade to the latest APR 1.4.8 and see if it helps?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message