httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44778] httpd dumps core when using mod_cache and mod_filter for same request
Date Wed, 09 Apr 2008 16:56:28 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44778





--- Comment #1 from Axel-Stephane Smorgrav <asmorgrav@yahoo.no>  2008-04-09 09:56:27
PST ---
Looking at the code of mod_filter.c I realised that the problem cannot possibly
have occurred at line 352 because f->r->status==200 :

351:    if (f->r->status != 200) {
352:        ap_remove_output_filter(f);
352:        return ap_pass_brigade(f->next, bb);
354:    }

Since ctx==NULL the problem is likely to have occurred at line 359:

    if (!ctx->func) {



The code in mod_cache.c that ends up making the call to filter_harness is:

    next = r->output_filters;

    while (next && (next->frec != cache_out_handle)) {
        ap_remove_output_filter(next);
        next = next->next;
    }

    /* kick off the filter stack */
    out = apr_brigade_create(r->pool, r->connection->bucket_alloc);
    rv = ap_pass_brigade(r->output_filters, out);

This makes me wonder whether the problem could possibly be in the re-ordering
of the filters in mod_cache rather than in mod_filter.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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