[
https://issues.apache.org/jira/browse/TS-4457?focusedWorklogId=27835&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-27835
]
ASF GitHub Bot logged work on TS-4457:
--------------------------------------
Author: ASF GitHub Bot
Created on: 01/Sep/16 22:22
Start Date: 01/Sep/16 22:22
Worklog Time Spent: 10m
Work Description: Github user zwoop commented on the issue:
https://github.com/apache/trafficserver/pull/954
@ericcarlschwartz
```C++
- if (s->state_machine->ua_session &&
(!strncmp(s->state_machine->ua_session->get_protocol_string(), "http/2", 6))) {
//if http/2
+ if (s->state_machine->ua_session &&
(!strncmp(s->state_machine->ua_session->get_protocol_string(), "http/2", 6))) {
// if http/2
memcpy(via_string, "http/2 ", 7);
via_string += 7;
- } else { //if http/1.1 or older
+ } else { // if http/1.1 or older
```
Issue Time Tracking
-------------------
Worklog Id: (was: 27835)
Time Spent: 1h 50m (was: 1h 40m)
> 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
> Assignee: Eric Schwartz
> Fix For: 7.0.0
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> 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)