summaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* http_config: follow up to r1702948: maybe unused, yet maybe usefull too.Yann Ylavic2016-09-061-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1759415 13f79535-47bb-0310-9956-ffa450edef68
* New optional flag to enforce <CR><LF> line delimiters in ap_[r]getline,William A. Rowe Jr2016-08-302-6/+14
| | | | | | | | | | | | | | created by overloading 'int fold' (1 or 0) as 'int flags', with the same value 1 for AP_GETLINE_FOLD (which httpd doesn't use), and a new value 2 for AP_GETLINE_CRLF Enforce CRLF when HttpProtocolOptions Strict is in force. Correctly introduces a new t/TEST fail. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758304 13f79535-47bb-0310-9956-ffa450edef68
* Dropped a public structure elt, bump majorWilliam A. Rowe Jr2016-08-291-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758227 13f79535-47bb-0310-9956-ffa450edef68
* Folding StrictWhitespace into the Strict ruleset of RFC7230, per dev@ poll.William A. Rowe Jr2016-08-291-5/+0
| | | | | | | | | | | This choice is unanimous, although StrictURI (a different RFC) still hasn't found absolute concensus. An ap_mmn bump will follow (major, this removes a struct elt) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758226 13f79535-47bb-0310-9956-ffa450edef68
* Rename LenientWhitespace to UnsafeWhitespace and change StrictWhitespaceWilliam A. Rowe Jr2016-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the default behavior, after discussion with fielding et al about the purpose of section 3.5. Update the documentation to clarify this. This patch removes whitespace considerations from the Strict|Unsafe toggle and consolidates them all in the StrictWhitespace|UnsafeWhitespace toggle. Added a bunch of logic comments to read_request_line parsing. Dropped the badwhitespace list for an all-or-nothing toggle in rrl. Leading space before the method is optimized to be evaluated only once. Toggled the request from HTTP/0.9 to HTTP/1.0 for more BAD_REQUEST cases. Moved s/[\n\v\f\r]/ / cleanup logic earlier in the cycle, to operate on each individual line read, and catch bad whitespace errors earlier. This changes the obs-fold to more efficiently condense whitespace and forces concatinatination with a single SP, always. Overrides are not necessary since obs-fold is clearly deprecated. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757589 13f79535-47bb-0310-9956-ffa450edef68
* ap_reclaim_child_processes() ignores its first argumentStefan Fritsch2016-08-211-1/+2
| | | | | | | note this in the docs, add comment git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757061 13f79535-47bb-0310-9956-ffa450edef68
* Introduce StrictURI|UnsafeURI for RFC3986 enforcementWilliam A. Rowe Jr2016-08-192-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756959 13f79535-47bb-0310-9956-ffa450edef68
* Perform correct, strict parsing of the request line, handling theWilliam A. Rowe Jr2016-08-182-2/+14
| | | | | | | | | | | | | | | | | | | | http protocol tag, url and method appropriately, and attempting to extract values even in the presence of unusual whitespace in keeping with section 3.5, prior to responding with whatever error reply is needed. Conforms to RFC7230 in all respects, the section 3.5 optional behavior can be disabled by the user with a new HttpProtocolOptions StrictWhitespace flag. In all cases, the_request is regenerated from the parsed components with exactly two space characters. Shift sf's 'strict' method check from the Strict behavior because it violates forward proxy logic, adding a new RegisteredMethods flag, as it will certainly be useful to some. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756729 13f79535-47bb-0310-9956-ffa450edef68
* Correct AP_HTTP_CONFORMANCE_ flags with an ap_mmn.h bumpWilliam A. Rowe Jr2016-08-172-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756555 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1750392: r1756186 should have also bumped MMN minor forYann Ylavic2016-08-141-1/+1
| | | | | | s/ap_proxy_check_backend/ap_proxy_check_connection/, and r1756328 really bump the MMN :p git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756329 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1750392: r1756186 should have also bumped MMN minor forYann Ylavic2016-08-141-1/+3
| | | | | | s/ap_proxy_check_backend/ap_proxy_check_connection/. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756328 13f79535-47bb-0310-9956-ffa450edef68
* [mod_proxy_]http: follow up to r1750392.Yann Ylavic2016-08-122-3/+19
| | | | | | | | | Export [ap_]check_pipeline() and use it also for ap_proxy_check_connection(), so that all the necessary checks on the connection are done before reusing it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756186 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1756064 and r1756060 until fixed (tests framework passes).Yann Ylavic2016-08-122-19/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756065 13f79535-47bb-0310-9956-ffa450edef68
* [mod_proxy_]http: follow up to r1750392.Yann Ylavic2016-08-122-3/+19
| | | | | | | | | Export [ap_]check_pipeline() and use it also for ap_proxy_check_connection(). [Reverted by r1756065] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756060 13f79535-47bb-0310-9956-ffa450edef68
* Fix spelling in comments and text files.Rainer Jung2016-08-115-7/+7
| | | | | | | | No functional change. PR 59990 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756038 13f79535-47bb-0310-9956-ffa450edef68
* We didn't change the MODULE_MAGIC_NUMBER_MAJORJim Jagielski2016-08-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755325 13f79535-47bb-0310-9956-ffa450edef68
* Introduce ap_scan_http_field_content, ap_scan_http_tokenWilliam A. Rowe Jr2016-07-292-1/+28
| | | | | | | | and ap_get_http_token for more efficient string handling. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1754541 13f79535-47bb-0310-9956-ffa450edef68
* A whole lotta nope, if you implement HTCPCP then register your methods in initWilliam A. Rowe Jr2016-07-181-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1753263 13f79535-47bb-0310-9956-ffa450edef68
* mod_proxy_{http,ajp,fcgi}}: don't reuse backend connections with data availableYann Ylavic2016-06-271-1/+3
| | | | | | | | | | | | | before the request is sent. PR 57832. ap_proxy_check_backend() can be used before ap_proxy_connect_backend() to try to read available data (including from the filters), and is called by ap_proxy_connect_backend() to check the socket state only (as before, still relevant after ap_proxy_check_backend() due to filter data which may not have triggered a real socket operation). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1750392 13f79535-47bb-0310-9956-ffa450edef68
* mod_proxy: revert r1750301, r1750305 and r1750311.Yann Ylavic2016-06-271-2/+1
| | | | | | Rework needed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1750376 13f79535-47bb-0310-9956-ffa450edef68
* mod_proxy: follow up to r1750301.Yann Ylavic2016-06-271-1/+2
| | | | | | | | | | s/is_socket_connected/get_socket_connected/ in the !USE_ALTERNATE_IS_CONNECTED case, and add CHANGE + MMN entries. [Reverted by r1750376] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1750305 13f79535-47bb-0310-9956-ffa450edef68
* Allow other modules to become providers and add ACLsGraham Leggett2016-06-141-1/+3
| | | | | | | to the DAV response. Requires apr-util v1.6+. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1748322 13f79535-47bb-0310-9956-ffa450edef68
* mod_dav: Add dav_begin_multistatus, dav_send_one_response,Graham Leggett2016-06-121-1/+5
| | | | | | | | dav_finish_multistatus, dav_send_multistatus, dav_handle_err, dav_failed_proppatch, dav_success_proppatch to mod_dav.h. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1748047 13f79535-47bb-0310-9956-ffa450edef68
* mod_dav: Add dav_get_provider_name() function to obtain the nameGraham Leggett2016-06-121-1/+2
| | | | | | | of the provider from mod_dav. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747946 13f79535-47bb-0310-9956-ffa450edef68
* A much more innocuous cut-and-paste flawWilliam A. Rowe Jr2016-06-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747484 13f79535-47bb-0310-9956-ffa450edef68
* Rename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygenWilliam A. Rowe Jr2016-06-091-13/+22
| | | | | | | This time, with merge-ability back into 2.4.x git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747478 13f79535-47bb-0310-9956-ffa450edef68
* Major issue with these two specific edits falling into r1747469William A. Rowe Jr2016-06-091-22/+13
| | | | | | | | | | is that it becomes impossible to cleanly merge into branches/2.4.x. Reverting this one functional/historical edit, to recommit for merging. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747477 13f79535-47bb-0310-9956-ffa450edef68
* Rename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygenWilliam A. Rowe Jr2016-06-092-15/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747469 13f79535-47bb-0310-9956-ffa450edef68
* mod_dav: Add support for childtags to dav_error.Graham Leggett2016-05-311-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1746207 13f79535-47bb-0310-9956-ffa450edef68
* Off by one "make dox" warningChristophe Jaillet2016-05-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1746206 13f79535-47bb-0310-9956-ffa450edef68
* Fix some doxygen warning.Christophe Jaillet2016-05-301-4/+1
| | | | | | Make the use of 'pfds' and 'pds' consistent git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1746189 13f79535-47bb-0310-9956-ffa450edef68
* Off by one "make dox" warningChristophe Jaillet2016-05-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1746171 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1740928: update docs (contexts) and minor MMN.Yann Ylavic2016-04-261-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1740967 13f79535-47bb-0310-9956-ffa450edef68
* mod_proxy, mod_ssl: Handle SSLProxy* directives in <Proxy> sections,Yann Ylavic2016-04-261-3/+6
| | | | | | | | allowing per backend TLS configuration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1740928 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1736217: really bump MMN minor.Yann Ylavic2016-03-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1736428 13f79535-47bb-0310-9956-ffa450edef68
* core: Add missing AP_IMPLEMENT_OPTIONAL_HOOK_RUN_FIRST.Yann Ylavic2016-03-222-2/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1736217 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1734656: restore c->data_in_input_filters usage toYann Ylavic2016-03-221-1/+1
| | | | | | | see if it helps unblocking test framework. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1736216 13f79535-47bb-0310-9956-ffa450edef68
* Mention cgi_var_rules, fix expr_handler typosJeff Trawick2016-03-211-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735952 13f79535-47bb-0310-9956-ffa450edef68
* reverting the reverting of r1735174, r1735176 was the culpritStefan Eissing2016-03-163-39/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735227 13f79535-47bb-0310-9956-ffa450edef68
* reverting r1735174 as http/1.1 just terminated before responseStefan Eissing2016-03-163-50/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735216 13f79535-47bb-0310-9956-ffa450edef68
* mpm: Generalise the ap_mpm_register_socket functions to accept pipes or sockets.Graham Leggett2016-03-153-39/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735174 13f79535-47bb-0310-9956-ffa450edef68
* Add CGIVar directive for configuring REQUEST_URI behaviorJeff Trawick2016-03-141-0/+3
| | | | | | | | The goal is to use this one directive to handle any configurable CGI variable behavior; only one CGI variable is supported initially. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734947 13f79535-47bb-0310-9956-ffa450edef68
* Fix a small doxygen issueChristophe Jaillet2016-03-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734716 13f79535-47bb-0310-9956-ffa450edef68
* core: Extend support for setting aside data from the network input filterGraham Leggett2016-03-124-5/+54
| | | | | | | to any connection or request input filter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734656 13f79535-47bb-0310-9956-ffa450edef68
* added AP_DECLARE for new ap_create_requestStefan Eissing2016-03-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734231 13f79535-47bb-0310-9956-ffa450edef68
* core: Split ap_create_request() from ap_read_request()Graham Leggett2016-03-082-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734009 13f79535-47bb-0310-9956-ffa450edef68
* * include/http_protocol.h: Tweak wording.Joe Orton2016-02-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732521 13f79535-47bb-0310-9956-ffa450edef68
* mpm: Add a complete_connection hook that confirms whether an MPM is allowedGraham Leggett2016-02-193-1/+25
| | | | | | | to leave the WRITE_COMPLETION phase. Move filter code out of the MPMs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1731253 13f79535-47bb-0310-9956-ffa450edef68
* Add 451... Needed to adjust RESPONSE_CODES whichJim Jagielski2016-02-161-1/+2
| | | | | | | was not in the provided patch BUGZ# 58985 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1730723 13f79535-47bb-0310-9956-ffa450edef68
* Correct doxygen groupnameWilliam A. Rowe Jr2016-02-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1730128 13f79535-47bb-0310-9956-ffa450edef68