You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeff Elsloo (JIRA)" <ji...@apache.org> on 2017/03/27 15:12:41 UTC

[jira] [Created] (TC-210) User agent version incorrect

Jeff Elsloo created TC-210:
------------------------------

             Summary: 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?}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)