You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Arno Toell (Created) (JIRA)" <ji...@apache.org> on 2011/10/03 23:19:34 UTC

[jira] [Created] (TS-973) Effect of proxy.config.http.insert_response_via_str / proxy.config.http.insert_request_via_str conflicts with documentation

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: Documentation
    Affects Versions: 3.0.1, 3.1.0
            Reporter: Arno Toell
            Priority: Minor


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

        

[jira] [Comment Edited] (TS-973) Effect of proxy.config.http.insert_response_via_str / proxy.config.http.insert_request_via_str conflicts with documentation

Posted by "Conan Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285471#comment-13285471 ] 

Conan Wang edited comment on TS-973 at 5/30/12 7:49 AM:
--------------------------------------------------------

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 ])

Previously proxy.config.http.verbose_via_str can turn off the debug string.
                
      was (Author: conanmind):
    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

        

[jira] [Updated] (TS-973) Effect of proxy.config.http.insert_response_via_str / proxy.config.http.insert_request_via_str conflicts with documentation

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-973:
-----------------------------

      Component/s: Configuration
    Fix Version/s: 3.1.1
         Assignee: Leif Hedstrom

I think we should eliminate the "verbose" option, and just stick with the original intent.
                
> 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
>
>
> 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

        

[jira] [Updated] (TS-973) Effect of proxy.config.http.insert_response_via_str / proxy.config.http.insert_request_via_str conflicts with documentation

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-973:
-----------------------------

    Attachment: TS-973.diff

Please review / check / test.
                
> 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

        

[jira] [Commented] (TS-973) Effect of proxy.config.http.insert_response_via_str / proxy.config.http.insert_request_via_str conflicts with documentation

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285844#comment-13285844 ] 

Leif Hedstrom commented on TS-973:
----------------------------------

I've created TS-1282 for fixing this code problem. This also adds an additional level of "config" verbosity, so the setting can now be 0-3.
                
> 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

        

[jira] [Commented] (TS-973) Effect of proxy.config.http.insert_response_via_str / proxy.config.http.insert_request_via_str conflicts with documentation

Posted by "Conan Wang (JIRA)" <ji...@apache.org>.
    [ 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