http://mail-archives.apache.org/mod_mbox/httpd-dev/201301.mbox/%3C20130103112044.GA19653%40redhat.com%3E
kbrand: configure option added in r1429228
-
* mod_status: Add useful mod_status info... try to determine last time
a specific vhost was accessed/used.
trunk patch: https://svn.apache.org/viewvc?view=revision&revision=1417529
2.4.x patch: http://people.apache.org/~jailletc36/backport4.patch
+1: jailletc36, rjung, covener
-
* Speed-up 'ap_fputs'. This change is just the inline version of what is remaining
in apr_brigade_puts() after http://svn.apache.org/viewvc?view=revision&revision=1402870
trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1409437
2.4.x patch: trunk patches works
+1: jailletc36, rjung, covener
- * mod_cache: Cache does no longer send Content-Type header for fresh content.
- Followup to r1361153+r1373447 (PR 53539, wrong Content-Type for stale content).
- trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1439083
- 2.4.x patch: trunk patches works
- +1: rjung, covener, minfrin
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
apr_bucket_brigade *bb = apr_brigade_create(r->pool,
r->connection->bucket_alloc);
- /* restore content type of cached response */
- ap_set_content_type(r, apr_table_get(cache->handle->resp_hdrs,
- "Content-Type"));
+ /* restore content type of cached response if available */
+ /* Needed especially when stale content gets served. */
+ const char *ct = apr_table_get(cache->handle->resp_hdrs, "Content-Type");
+ if (ct) {
+ ap_set_content_type(r, ct);
+ }
/* restore status of cached response */
r->status = cache->handle->cache_obj->info.status;