You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2016/11/16 05:13:58 UTC
[jira] [Updated] (TS-5054) url_sig plugin loads configuration
inconsistently
[ https://issues.apache.org/jira/browse/TS-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Call updated TS-5054:
---------------------------
Fix Version/s: 7.1.0
> url_sig plugin loads configuration inconsistently
> -------------------------------------------------
>
> Key: TS-5054
> URL: https://issues.apache.org/jira/browse/TS-5054
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Reporter: James Peach
> Fix For: 7.1.0
>
>
> {noformat}
> const char *install_dir = TSInstallDirGet();
> snprintf(config_file, sizeof(config_file), "%s/%s/%s", install_dir, "etc/trafficserver", argv[2]);
> TSDebug(PLUGIN_NAME, "config file name: %s", config_file);
> FILE *file = fopen(config_file, "r");
> if (file == NULL) {
> snprintf(errbuf, errbuf_size - 1, "[TSRemapNewInstance] - Error opening file %s.", config_file);
> return TS_ERROR;
> }
> {noformat}
> The policy for plugins is to load absolute paths if specified, then treat is as a path relative to {{TSConfigDirGet}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)