Jim Jagielski wrote:
Eyes please... The coffee is VERY week this morning :)
Despite having overindulged upon the sushi, I shall give it a go :)
Index: modules/cache/mod_disk_cache.c
===================================================================
--- modules/cache/mod_disk_cache.c (revision 356419)
+++ modules/cache/mod_disk_cache.c (working copy)
@@ -1010,7 +1010,7 @@
* sanity checks.
*/
if (APR_BUCKET_IS_EOS(APR_BRIGADE_LAST(bb))) {
- if (r->connection->aborted) {
+ if (r->connection->aborted || r->no_cache) {
ap_log_error(APLOG_MARK, APLOG_INFO, 0, r->server,
"disk_cache: Discarding body for URL %s "
"because connection has been aborted.",
Would mem_cache have to do the same thing? Is there not a way to make this generic?
Otherwise +1. Regards, Graham --
smime.p7s
Description: S/MIME Cryptographic Signature
