[ 
https://issues.apache.org/jira/browse/TS-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285471#comment-13285471
 ] 

Conan Wang commented on TS-973:
-------------------------------

seem there is no way to set a Via header like:
bq. "Via: http/1.1 conan-mac (ApacheTrafficServer/3.1.4-unstable)".

Setting proxy.config.http.insert_response_via_str to 1 or 2 get same debug 
header:
bq. Via: http/1.1 conan-mac (ApacheTrafficServer/3.1.4-unstable [uScMs f p eN:t 
cCMi p s ])
                
> Effect of proxy.config.http.insert_response_via_str / 
> proxy.config.http.insert_request_via_str  conflicts with documentation
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TS-973
>                 URL: https://issues.apache.org/jira/browse/TS-973
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Configuration, Documentation
>    Affects Versions: 3.1.0, 3.0.1
>            Reporter: Arno Toell
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 3.1.1
>
>         Attachments: TS-973.diff
>
>
> The documentation on 
> http://trafficserver.apache.org/docs/v2/admin/files.htm#records.config tells:
> {quote}
> proxy.config.http.insert_response_via_str
> You can specify one of the following:
> 0 = no extra information is added to the string.
> 1 = all extra information is added.
> 2 = some extra information is added.
> {quote}
> However changing the value does not really seem to affect verbosity of the 
> reponse header. Apparently 1/0 only triggers "on" or "off" respectively. 
> Instead, there seems to be an undocumented setting called 
> _proxy.config.http.verbose_via_str_ which _seems_ affect the verbosity of the 
> request/response header. 
> This holds likewise for _proxy.config.http.insert_request_via_str_. 
> So, either:
> * restore the old behavior which changed the verbosity depending on the value 
> of the _insert_response/request_via_str_
> * update the docs reflecting the new situation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to