Skip to content

core: Process HTTP/1.x requests with a higher minor version like HTTP… - #820

Open
arturobernalg wants to merge 1 commit into
apache:trunkfrom
arturobernalg:fix/httpd-h1-higher-minor-version
Open

arturobernalg wants to merge 1 commit into
apache:trunkfrom
arturobernalg:fix/httpd-h1-higher-minor-version

Conversation

@arturobernalg

Copy link
Copy Markdown
Member

…/1.1.

h1_post_read_request() added the HTTP1_BODY_IN filter only for proto_num <= 1.1, so a request such as "GET / HTTP/1.2" blocked reading its body. Use the major version, as RFC 9110 section 2.5 requires.


  • [ X] This PR does not report or address a security vulnerability
    (see SECURITY.md and
    https://www.apache.org/security/#reporting-a-vulnerability).
  • [ X] Code follows the httpd style guide.
  • [ X] New log messages (level debug or higher) use an empty APLOGNO() tag;
    numbers are assigned by a committer at merge time (see docs/log-message-tags/README).
  • [ X] If the change is user-visible, a changes-entries/*.txt file is included,
    following the template in README.CHANGES (not needed otherwise).
  • [X ] Test cases based on pyhttpd are included where appropriate, in the
    test/modules/xxx directory matching the modules/xxx module source,
    or test/modules/core for core server changes. On Unix, verify these
    pass locally with e.g. make check-pytest PYTEST_DIRS=test/modules/xxx.

…/1.1.

h1_post_read_request() added the HTTP1_BODY_IN filter only for proto_num <= 1.1, so a request such as "GET / HTTP/1.2" blocked reading its body. Use the major version, as RFC 9110 section 2.5 requires.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant