From 70a553c87cf90065cb5e4b1f5fe003f4f992418b Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Wed, 7 Dec 2005 00:44:13 +0000 Subject: [PATCH] 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 --- modules/proxy/mod_proxy_http.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.40.0