You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2015/07/01 02:08:44 UTC

svn commit: r1688536 - /httpd/httpd/trunk/modules/http/http_filters.c

Author: ylavic
Date: Wed Jul  1 00:08:44 2015
New Revision: 1688536

URL: http://svn.apache.org/r1688536
Log:
http: follow up to r1686271, also needed in 2.4.x/2.2.x by r1686271/r1687339.
Handle reentrance of state BODY_CHUNK_CR to avoid AH02901 when we eat BWS
from multiple reads.

Modified:
    httpd/httpd/trunk/modules/http/http_filters.c

Modified: httpd/httpd/trunk/modules/http/http_filters.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/http_filters.c?rev=1688536&r1=1688535&r2=1688536&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_filters.c (original)
+++ httpd/httpd/trunk/modules/http/http_filters.c Wed Jul  1 00:08:44 2015
@@ -439,6 +439,7 @@ apr_status_t ap_http_filter(ap_filter_t
         case BODY_CHUNK:
         case BODY_CHUNK_PART:
         case BODY_CHUNK_EXT:
+        case BODY_CHUNK_CR:
         case BODY_CHUNK_LF:
         case BODY_CHUNK_END:
         case BODY_CHUNK_END_LF: {