diff options
author | Ruediger Pluem <rpluem@apache.org> | 2010-02-18 17:11:11 +0100 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2010-02-18 17:11:11 +0100 |
commit | 263547b8e4ad82ef04ac10590aa38a894c68afd5 (patch) | |
tree | 06280eaf2150c46d72553352ceee41aa335d1636 /modules/proxy | |
parent | Update the htcacheclean init script to take into account the pid of (diff) | |
download | apache2-263547b8e4ad82ef04ac10590aa38a894c68afd5.tar.xz apache2-263547b8e4ad82ef04ac10590aa38a894c68afd5.zip |
* Really regard the operation a success, when the client aborted the connection.
In addition adjust the log message if the client aborted the connection.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@911466 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy')
-rw-r--r-- | modules/proxy/mod_proxy_ajp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy_ajp.c b/modules/proxy/mod_proxy_ajp.c index fd7c14a758..635ba32a89 100644 --- a/modules/proxy/mod_proxy_ajp.c +++ b/modules/proxy/mod_proxy_ajp.c @@ -469,7 +469,9 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r, if (ap_pass_brigade(r->output_filters, output_brigade) != APR_SUCCESS) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, - "proxy: error processing body"); + "proxy: error processing body.%s", + r->connection->aborted ? + " Client aborted connection." : ""); output_failed = 1; } data_sent = 1; @@ -507,6 +509,7 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r, conn->close++; output_failed = 0; result = CMD_AJP13_END_RESPONSE; + request_ended = 1; } /* |