]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core, h2: common ap_parse_request_line() and ap_check_request_header() code.
authorYann Ylavic <ylavic@apache.org>
Fri, 17 Apr 2020 16:47:42 +0000 (16:47 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 17 Apr 2020 16:47:42 +0000 (16:47 +0000)
commit22b3d7cec44d9910862c643659f78b90d153a320
treec9ecbaf13adfe0757ad60080eb5661b0451f40ef
parentb157ae396cd69db81fe47d25ae173e4b9e60bf8d
core, h2: common ap_parse_request_line() and ap_check_request_header() code.

Extract parsing/validation code from read_request_line() and ap_read_request()
into ap_parse_request_line() and ap_check_request_header() helpers such that
mod_http2 can validate its HTTP/1 request with the same/configured policy.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876674 13f79535-47bb-0310-9956-ffa450edef68
include/ap_mmn.h
include/http_protocol.h
modules/http2/h2_request.c
server/protocol.c