]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Revert accidental commit
authorEdward Lu <elu@apache.org>
Tue, 1 Sep 2015 14:37:38 +0000 (14:37 +0000)
committerEdward Lu <elu@apache.org>
Tue, 1 Sep 2015 14:37:38 +0000 (14:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1700582 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_mem_cache.c

index 826c4afc0f461626e641dc5878b9b320ea7b0a46..b845b98330a9f8a9e3447b253dc0087374b147ca 100644 (file)
@@ -763,15 +763,6 @@ static apr_status_t store_body(cache_handle_t *h, request_rec *r, apr_bucket_bri
                     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