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

Leif Hedstrom commented on TS-507:
----------------------------------

I should point out that this is (as far as I can tell) only a problem in 
reverse proxy mode. E.g. if I test this with a request like


curl http://localhost/


I expect it to fetch http://www.ogre.com/


> INKUrlHostSet does not work in INK_HTTP_READ_REQUEST_PRE_REMAP_HOOK
> -------------------------------------------------------------------
>
>                 Key: TS-507
>                 URL: https://issues.apache.org/jira/browse/TS-507
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 2.1.3
>            Reporter: Leif Hedstrom
>             Fix For: 2.1.4
>
>         Attachments: test.cc
>
>
> As of the transparent proxy merge (TS-291, SVN commit # 992187), the attached 
> code (see separate attachment) does not long work. Basically, the plugin is 
> intended to run instead of a "remap" rule, in a 
> INK_HTTP_READ_REQUEST_PRE_REMAP_HOOK. With versions of ATS before this TS-291 
> commit, it works fine (it'll set the URL and Host: header properly), but 
> after this commit, it breaks.
> Going back to earlier ATS versions do not show this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to