[
https://issues.apache.org/jira/browse/TS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928099#action_12928099
]
Alan M. Carroll commented on TS-507:
------------------------------------
Temporary fix for testing.
Index: proxy/InkAPI.cc
===================================================================
--- proxy/InkAPI.cc (revision 1030809)
+++ proxy/InkAPI.cc (working copy)
@@ -5239,6 +5239,7 @@
*bufp = hptr;
*obj = hptr->m_http;
sdk_sanity_check_mbuffer(*bufp);
+ hptr->mark_target_dirty();
return 1;
} else {
> 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.