[
https://issues.apache.org/jira/browse/TS-4457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15291321#comment-15291321
]
Susan Hinrichs commented on TS-4457:
------------------------------------
This is not a regression is it? Looking through the code in
HttpTransactHeaders::insert_via_header_in_response it appears to hard code
either HTTP/1.1 or HTTP/1.0. I guess to fix it up, we should add logic in the
Http2Stream to update the via header appropriately. Or replace the hard coded
logic with calls to get_protocol_string().
> Via header always reports http1
> -------------------------------
>
> Key: TS-4457
> URL: https://issues.apache.org/jira/browse/TS-4457
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Miles Libbey
> Fix For: 7.0.0
>
>
> When using http2, the Via header says http1.1.
> $ curl -D- -o/dev/null -s "https://docs.trafficserver.apache.org/" | grep via
> via:http/1.1 ATS (ApacheTrafficServer/6.2.0 [cRs f ])
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)