[ 
https://issues.apache.org/jira/browse/TS-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218197#comment-14218197
 ] 

Leif Hedstrom commented on TS-2936:
-----------------------------------

Returning this to the "pool", I think it'd be a good fix to not have it suck up 
lines like that as part of the comments (but that's just my $0.01). 

Also, I think the line continuations makes error reporting confusing; The line 
number where the error occurs is no longer accurate (one continuated entry 
counts as one line in the source file). I don't know if we have a separate bug 
for that?


> Comments and line continuations in remap.config is bad mojo
> -----------------------------------------------------------
>
>                 Key: TS-2936
>                 URL: https://issues.apache.org/jira/browse/TS-2936
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Configuration, Core
>            Reporter: Leif Hedstrom
>             Fix For: 5.3.0
>
>
> If you do a line continuation on a commented out line in remap.config, it'll 
> still suck up the following line into the comment. This is less than ideal. 
> As an example, this does not work 
> {code}
> map http://example.com http://real.example.com \
>     # @plugin=conf_remap.so @pparam= ... \
>     @plugin=header_rewrite.so @pparam= ...
> {code}
> The issue being that the second plugin line gets sucked into the comment.



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

Reply via email to