You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/09/08 16:05:22 UTC

[jira] [Updated] (TS-4501) Use config_parse_error to propagate remap.config errors

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

Leif Hedstrom updated TS-4501:
------------------------------
    Fix Version/s:     (was: 7.0.0)
                   sometime

> Use config_parse_error to propagate remap.config errors
> -------------------------------------------------------
>
>                 Key: TS-4501
>                 URL: https://issues.apache.org/jira/browse/TS-4501
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Configuration, Remap API
>            Reporter: James Peach
>             Fix For: sometime
>
>
> In {{RemapConfig.cc}} there is a fairly complex game of formatting error messages into output buffers. We can simplify all this by using the {{config_parse_error}} class to carry both a status and an error message.
> We should add a {{SourceLocation}} field to {{config_parse_error}} as well to we can propagate the line that the error occurred on.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)