https://issues.apache.org/bugzilla/show_bug.cgi?id=54706
--- Comment #4 from Yann Ylavic <[email protected]> --- What about maintaining the r->headers_out and the h->resp_hdrs separately, once (currently ap_cache_cacheable_headers_out can be called multiple times), and with no API change by setting the current cache_handle_t in the r->request_config of cache_module (which does not seem to be used) ? Thereby, by defining a new function cache_parse_out(h, r) like : { if (!h->cache_obj->info.control.parsed) { /* once, parse the Cache-Control header, put the right things in r->headers_out, when applyable, stuff from cache_accept_headers(), together with the right things in h->resp_hdrs */ } } and modifying ap_cache_cacheable_headers_out(r) like : { cache_handle_t *h = (cache_handle_t *) ap_get_module_config(r->request_config, &cache_module); cache_parse_out(h, r); return h->resp_hdrs; } and then using ap_set_module_config at the right place(s)... -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
