httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1700582 - /httpd/httpd/branches/2.2.x/modules/cache/mod_mem_cache.c
Date Tue, 01 Sep 2015 14:37:38 GMT
Author: elu
Date: Tue Sep  1 14:37:38 2015
New Revision: 1700582

URL: http://svn.apache.org/r1700582
Log:
Revert accidental commit

Modified:
    httpd/httpd/branches/2.2.x/modules/cache/mod_mem_cache.c

Modified: httpd/httpd/branches/2.2.x/modules/cache/mod_mem_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/cache/mod_mem_cache.c?rev=1700582&r1=1700581&r2=1700582&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/cache/mod_mem_cache.c (original)
+++ httpd/httpd/branches/2.2.x/modules/cache/mod_mem_cache.c Tue Sep  1 14:37:38 2015
@@ -763,15 +763,6 @@ static apr_status_t store_body(cache_han
                     return APR_EGENERAL;
                 }
             }
-            if (r->connection->aborted) {
-                ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
-                             "mem_cache: Discarding body for URL %s "
-                             "because connection was aborted.",
-                             obj->key);
-                /* No need to cleanup - obj->complete unset, so
-                 * decrement_refcount will discard the object */
-                return APR_EGENERAL;
-            }
             if (mobj->m_len > obj->count) {
                 /* Caching a streamed response. Reallocate a buffer of the
                  * correct size and copy the streamed response into that



Mime
View raw message