Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove check in was_simple_copy_all_headers and add a few comments #3

Merged
merged 2 commits into from
Nov 16, 2024

Conversation

pfirsich
Copy link
Contributor

No description provided.

This check assumed that the headers would be lowercase, which is not
(yet) guaranteed by the WAS protocol or the implementation itself.
Fortunately this check is redundant since the role of a WAS server
requires that hop-by-hop headers will not be sent to it (assuming a
well-behaved WAS client), as they are not to be forwarded by
proxies (RFC2616, 13.5.1).
http_header_is_hop_by_hop also checked for Content-Length, which
is explicitly excluded by the WAS protocol (and replaced by a
LENGTH message).
@MaxKellermann MaxKellermann merged commit 39f81bd into CM4all:master Nov 16, 2024
1 check passed
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.

2 participants