You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "vuori (via GitHub)" <gi...@apache.org> on 2024/09/12 13:18:04 UTC

[I] http2: accept requests without :authority pseudo-header? [trafficserver]

vuori opened a new issue, #11765:
URL: https://github.com/apache/trafficserver/issues/11765

   As of 10.0.0, ATS http2 request parser rejects requests without the `:authority` pseudo-header. However, haproxy's http2 client will in many situations send requests that have the `Host` header but no `:authority`. There is an issue open about this on haproxy side: https://github.com/haproxy/haproxy/issues/2592. The underlying standardization issue seems to be different wording regarding conversion of a `Host` header into an `:authority` header in RFC 7540 vs. 9113, where haproxy hews to 7540 re: preserving http/1.1 semantics as far as possible when converting requests between protocols.
   
   The haproxy issue is originally about Jetty, which apparently ended up adding support for `Host` as an alternative to `:authority`. What's the ATS view on this? Would it be reasonable to accept `Host` in lieu of `:authority` if the latter is missing?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] http2: accept requests without :authority pseudo-header? [trafficserver]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11765:
URL: https://github.com/apache/trafficserver/issues/11765#issuecomment-3300921450

   This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] http2: accept requests without :authority pseudo-header? [trafficserver]

Posted by "maskit (via GitHub)" <gi...@apache.org>.
maskit commented on issue #11765:
URL: https://github.com/apache/trafficserver/issues/11765#issuecomment-2347015362

   This is just my personal view, not the ATS view or the community view.
   
   My short answer is no.
   
   Putting how ATS currently behaves aside, the RFC sounds like the lack of `:authority` pseudo-header does not necessarily invalidate a request. With that said, I can't think of a case that an intermediary cannot construct `:authority` pseudo-header where it can send `Host` header. I'd say such a request is malformed.
   
   However, if there are HTTP/2 implementations behaving like that and there are ATS users willing to accept such requests, I don't mind having a setting to allow using `Host` instead of `:authority`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org