Re: remap for internal connections.

2016-02-12 Thread Dnj
Actually, instead of calling TSSkipRemappingSet in pre-map hook, I called it in read-requesthdrs hook. That seems to have helped. Thanks. > On Feb 12, 2016, at 8:02 PM, Sudheer Vinukonda wrote: > > Can you turn on debug traces (tag: http) and check what might be going on? > > Thanks, > > Su

Re: remap for internal connections.

2016-02-12 Thread Sudheer Vinukonda
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Can you turn on debug traces (tag: http) and check what might be going on? Thanks, Sudheer On Friday, February 12, 2016, 7:

Re: remap for internal connections.

2016-02-12 Thread Dnj
That's exactly what I did. I added a global pre map hook. In that, I set the skip remap if it's an internal txn and if the txn URL matches my URL. However, my request still fails with a 404. :( Bhasker. > On Feb 12, 2016, at 7:45 PM, Leif Hedstrom wrote: > > >> On Feb 12, 2016, at 7:10 PM,

Re: remap for internal connections.

2016-02-12 Thread Leif Hedstrom
> On Feb 12, 2016, at 7:10 PM, Dk Jack wrote: > > :( > > Doesn't seem to work. I am calling TSSkipRemappingSet in the PRE_MAP hook. > Is that too late for this setting? You added a PRE_MAP hook for the subsequent (FetchSM) request? Typically what you would do here is to have a global PRE_REM

Re: remap for internal connections.

2016-02-12 Thread Dk Jack
:( Doesn't seem to work. I am calling TSSkipRemappingSet in the PRE_MAP hook. Is that too late for this setting? On Fri, Feb 12, 2016 at 6:13 PM, Dk Jack wrote: > Thanks Sudheer! > > On Fri, Feb 12, 2016 at 6:06 PM, Sudheer Vinukonda < > sudhe...@yahoo-inc.com.invalid> wrote: > >> You can have

Re: remap for internal connections.

2016-02-12 Thread Dk Jack
Thanks Sudheer! On Fri, Feb 12, 2016 at 6:06 PM, Sudheer Vinukonda < sudhe...@yahoo-inc.com.invalid> wrote: > You can have your plugin skip remap for a TXN using the TS > API TSSkipRemappingSet. > I believe CPP API also added support for this recently > with Transaction::setSkipRemapping(). > h

Re: remap for internal connections.

2016-02-12 Thread Sudheer Vinukonda
You can have your plugin skip remap for a TXN using the TS API    TSSkipRemappingSet.  I believe CPP API also added support for this recently with  Transaction::setSkipRemapping(). https://issues.apache.org/jira/browse/TS-4016 Thanks, Sudheer On Friday, February 12, 2016, 5:55 PM, Dk Jack wrot

remap for internal connections.

2016-02-12 Thread Dk Jack
Hi, I am using atscppapi to create my plugin. My plugin spawns a thread and periodically fetches data from an external server. I am using the AsyncHttpFetch atscppapi which internally seems to use the TSFetchUrl. When I pass my external url to the AsyncHttpFetch api, my connection to the external s