Author: joes Date: Fri Jan 7 02:43:31 2005 New Revision: 124478 URL: http://svn.apache.org/viewcvs?view=rev&rev=124478 Log: ap_http_filter has a bug in it's chunked trailer parsing: the call to ap_get_mime_headers causes the whole input filter chain to be reentered. This patch works around that bug, at least for the mod_apreq filter.
Modified: httpd/apreq/trunk/env/mod_apreq.c Modified: httpd/apreq/trunk/env/mod_apreq.c Url: http://svn.apache.org/viewcvs/httpd/apreq/trunk/env/mod_apreq.c?view=diff&rev=124478&p1=httpd/apreq/trunk/env/mod_apreq.c&r1=124477&p2=httpd/apreq/trunk/env/mod_apreq.c&r2=124478 ============================================================================== --- httpd/apreq/trunk/env/mod_apreq.c (original) +++ httpd/apreq/trunk/env/mod_apreq.c Fri Jan 7 02:43:31 2005 @@ -560,6 +560,8 @@ case AP_MODE_EXHAUSTIVE: /* only the modes above are supported */ break; + case AP_MODE_GETLINE: /* punt- chunks are b0rked in ap_http_filter */ + return ap_get_brigade(f->next, bb, mode, block, readbytes); default: return APR_ENOTIMPL; }
