You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2016/06/02 15:38:59 UTC
[jira] [Created] (TS-4501) use config_parse_error to propagate
remap.config errors
James Peach created TS-4501:
-------------------------------
Summary: 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
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)