summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2005-12-07 00:44:13 +0000
committerJustin Erenkrantz <jerenkrantz@apache.org>2005-12-07 00:44:13 +0000
commit70a553c87cf90065cb5e4b1f5fe003f4f992418b (patch)
treea5e702e93761c11b6387c30dde4a61a98d95ad76
parent708a27763645000919daaecf1cc47d649841b48d (diff)
downloadhttpd-70a553c87cf90065cb5e4b1f5fe003f4f992418b.tar.gz
Add a comment and use proper grammar for another comment.
(No functional changes.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354636 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/proxy/mod_proxy_http.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c
index 1be92b8365..250b7601d0 100644
--- a/modules/proxy/mod_proxy_http.c
+++ b/modules/proxy/mod_proxy_http.c
@@ -1480,6 +1480,10 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r,
break;
}
else if (rv != APR_SUCCESS) {
+ /* In this case, we are in real trouble because
+ * our backend bailed on us, so abort our
+ * connection to our user too.
+ */
ap_log_cerror(APLOG_MARK, APLOG_ERR, rv, c,
"proxy: error reading response");
c->aborted = 1;
@@ -1548,7 +1552,7 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r,
}
} while (interim_response);
- /* If we our connection with the client is to be aborted, return DONE. */
+ /* If our connection with the client is to be aborted, return DONE. */
if (c->aborted) {
return DONE;
}