[
https://issues.apache.org/jira/browse/TC-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeff Elsloo updated TC-210:
---------------------------
Description:
The experimental (golang) Traffic Monitors appear to have a hardcoded version
in the user agent string. This shouldn't really be hardcoded, or if it is,
should be search/replaced at compile-time.
{{common/fetcher/fetcher.go: req.Header.Set("User-Agent",
"traffic_monitor/1.0") // TODO change to 2.0?}}
Additionally, the version served up by the application does not match the RPM
version.
was:
The experimental (golang) Traffic Monitors appear to have a hardcoded version
in the user agent string. This shouldn't really be hardcoded, or if it is,
should be search/replaced at compile-time.
{{common/fetcher/fetcher.go: req.Header.Set("User-Agent",
"traffic_monitor/1.0") // TODO change to 2.0?}}
> User agent version incorrect
> ----------------------------
>
> Key: TC-210
> URL: https://issues.apache.org/jira/browse/TC-210
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Monitor (golang)
> Reporter: Jeff Elsloo
> Priority: Minor
>
> The experimental (golang) Traffic Monitors appear to have a hardcoded version
> in the user agent string. This shouldn't really be hardcoded, or if it is,
> should be search/replaced at compile-time.
> {{common/fetcher/fetcher.go: req.Header.Set("User-Agent",
> "traffic_monitor/1.0") // TODO change to 2.0?}}
> Additionally, the version served up by the application does not match the RPM
> version.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)