]> granicus.if.org Git - apache/commitdiff
* Really regard the operation a success, when the client aborted the connection.
authorRuediger Pluem <rpluem@apache.org>
Thu, 18 Feb 2010 16:11:11 +0000 (16:11 +0000)
committerRuediger Pluem <rpluem@apache.org>
Thu, 18 Feb 2010 16:11:11 +0000 (16:11 +0000)
  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

modules/proxy/mod_proxy_ajp.c

index fd7c14a758ed7f7a311a9c1398a31811243ddc52..635ba32a89194c6ee5240b8161635697a26543c0 100644 (file)
@@ -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;
         }
 
         /*