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 <dnj0...@gmail.com> wrote:

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 server is failing and I get a 404 error. However, if I
force my plugin to connect to
an arbitrary url (like http://localhost:8888) and add a remap rule as
follows:

regex_map http://(.*):8888/   <external-server-url>

then my external bound http GETs are working. Is there a way to get my
internal fetches to
work without having to write a remap rule? Thanks for your help.

Dj.

 

Reply via email to