mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
have a predetermined C-L - such as data that passes through mod_include. Previously, these requests would generate 416 since when the byterange filter ran, r->clength would be 0. r->clength is only guaranteed to be valid after C-L filter is run, but we need C-L to run after us so that our data can have a proper C-L returned. So, we need to rearrange the code so that we can deal with this case. Highlights: - Remove r->boundary since it is possible to have this self-contained in boundary's ctx. (May require MMN bump?) - Remove call to parse_byteranges in ap_set_byterange since this would wrongly return -1 for dynamic responses. We have to wait until we see EOS to call parse_byteranges. - Move bound_head computation inside the num_parts == 2 check. - Change a NULL brigade check to APR_BRIGADE_EMPTY - Move the 416 error return to after we've run through all ranges and found none of them to be valid. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94942 13f79535-47bb-0310-9956-ffa450edef68
The directory structure for this level is as follows: aaa/ This directory contains modules dealing with authorization and authentication. arch/ cache/ This directory houses modules that implement file and data caching capability. dav/ This directory houses modules that implement WebDAV functionality. echo/ experimental/ In this directory we've placed some modules which we think provide some pretty interesting functionality, but which are still in the early stages of development and could evolve radically in the future. This code isn't supported officially. filters/ This directory houses modules that perform general inline data filtering. generators/ This directory houses modules that perform data generation functions. http/ This directory houses modules that basic HTTP protocol implementation. loggers/ This directory houses modules that handle logging functions. mappers/ This directory houses modules that handle URL mapping and rewriting. metadata/ This directory houses modules that deal with Header metadata. proxy/ This houses the code for the proxy module for Apache. ssl/ test/ This directory houses modules which test various components of Apache. You should not compile these into a production server. tls/ This directory houses code for OpenSSL functionality.