summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2016-11-09 14:37:34 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2016-11-09 14:37:34 +0000
commit77f983d0f6d2be070537609ad2fba0151f0fc952 (patch)
tree26a6d3296fcf8403127faacde810ed504f028abe
parentd35b4c08dd43aad67aa94788466ede45fe98d34e (diff)
downloadhttpd-77f983d0f6d2be070537609ad2fba0151f0fc952.tar.gz
Backports: r1687642
Submitted by: covener elaborate on a misleading comment git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x-merge-http-strict@1768977 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--server/protocol.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/protocol.c b/server/protocol.c
index 9d1cbc5712..27de5db616 100644
--- a/server/protocol.c
+++ b/server/protocol.c
@@ -239,7 +239,9 @@ AP_DECLARE(apr_status_t) ap_rgetline_core(char **s, apr_size_t n,
return rv;
}
- /* Something horribly wrong happened. Someone didn't block! */
+ /* Something horribly wrong happened. Someone didn't block!
+ * (this also happens at the end of each kept-alive connection)
+ */
if (APR_BRIGADE_EMPTY(bb)) {
return APR_EGENERAL;
}