You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "George Paul (JIRA)" <ji...@apache.org> on 2010/02/13 02:29:28 UTC

[jira] Resolved: (TS-143) Make sure Version info is set and captured consistently

     [ https://issues.apache.org/jira/browse/TS-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Paul resolved TS-143.
----------------------------

    Resolution: Fixed

This patch '0001-TS143_patch1.diff.patch' sets the Version info for the following apps and scripts:

apps:
 traffic_server
 traffic_manager
 traffic_cop
 traffic_line
 traffic_shell
 traffic_logstats
 traffic_logcat
 traffic_sac

script:
 trafficserver

e.g. /usr/local/bin/traffic_server -V
Apache Traffic Server - traffic_server - 2.0.0-alpha - (build # 11216 on Feb 12 2010 at 16:09:48)

This also sets the version info in the request & response 'Via:' headers to be the same and the 'Server:' header.

example 'Via:' header for request:

Via: HTTP/1.0 <proxy_name> (ApacheTrafficServer/2.0.0-alpha [uScM])

example 'Via:' & 'Server:' header for response:

Via: HTTP/1.0 <proxy_name> (ApacheTrafficServer/2.0.0-alpha [cMsSfW])
Server: ATS/2.0.0-alpha

These can be set via the records.config variables:

CONFIG proxy.config.http.request_via_str STRING ApacheTrafficServer/2.0.0-alpha
CONFIG proxy.config.http.response_via_str STRING ApacheTrafficServer/2.0.0-alpha
CONFIG proxy.config.http.response_server_str STRING  ATS/2.0.0-alpha

-George


> Make sure Version info is set and captured consistently
> -------------------------------------------------------
>
>                 Key: TS-143
>                 URL: https://issues.apache.org/jira/browse/TS-143
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Config
>    Affects Versions: 2.0.0a
>         Environment: All
>            Reporter: George Paul
>            Assignee: George Paul
>            Priority: Minor
>             Fix For: 2.0.0a
>
>         Attachments: 0001-TS143_patch1.diff.patch
>
>
> Make sure the Version info is set and captured consistently for Traffic Server(TS,TM & TC). Applications  use AppVersionInfo() to set and get version info passed via configure PACKAGE_xxx, etc defines.
> -George

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.