the stored headers for the Cache-Control check.
Pointed out by: Sander Striker
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156401
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) mod_cache: Fix error where incoming Cache-Control would be ignored.
+ [Justin Erenkrantz]
+
*) worker MPM/mod_status: Support per-worker tracking of pid and
generation in the scoreboard so that mod_status can accurately
represent workers in processes which are gracefully terminating.
* entity, and it's value is in the past, it has expired.
*
*/
+ /* This value comes from the client's initial request. */
+ cc_req = apr_table_get(r->headers_in, "Cache-Control");
+
+ /* These come from the cached entity. */
cc_cresp = apr_table_get(h->resp_hdrs, "Cache-Control");
- cc_req = apr_table_get(h->req_hdrs, "Cache-Control");
expstr = apr_table_get(h->resp_hdrs, "Expires");
if ((agestr = apr_table_get(h->resp_hdrs, "Age"))) {