Alan,
I have web-server behind ats. I was trying print various request attributes in
my plugin.
curl -v showed that it's sending the correct headers. I even collected tcpdump
of the exchange and I see the complete URL being sent. The host header has the
correct info. When I use the getHost API
curl --proxy localhost:8080 http://trafficserver.apache.org
Thank you, helpful mail program.
I'm not sure what you're trying to do with that curl command. ATS is a proxy
which means it has no content, it expects to forward any request on to an
origin server. What origin server are you trying to reach via ATS? Normally I
would do something like
curl --proxy localhost:8080 Apache Traffic
Hi,
I am using atscppapi in my plugin. I send a curl request as follows to ATS:
curl 'http://localhost:8080/abcdef?a=1&b=2'
In my plugin code, in handleReadRequestHeadersPreRemap function, I am
printing the following:
logInfo("effective-url: %s", txn.getEffectiveUrl().c_str());
ClientReques
Not really sure..perhaps, you may try turning on debug (tags: http, url_remap)
and check the logs to get more clues.
Thanks,
Sudheer
On Thursday, March 10, 2016, 7:13 PM, Dk Jack wrote:
Sudheer,Any other suggestions I can try? Thanks.
On Wed, Mar 9, 2016 at 1:41 PM, Dk Jack wrote:
There i
Sudheer,
Any other suggestions I can try? Thanks.
On Wed, Mar 9, 2016 at 1:41 PM, Dk Jack wrote:
> There is no remap rule, since this is internally generated
> traffic TSSkipRemappingSet is set.
>
>
> On Wed, Mar 9, 2016 at 1:02 PM, Sudheer Vinukonda <
> sudhe...@yahoo-inc.com.invalid> wrote:
There is no remap rule, since this is internally generated
traffic TSSkipRemappingSet is set.
On Wed, Mar 9, 2016 at 1:02 PM, Sudheer Vinukonda <
sudhe...@yahoo-inc.com.invalid> wrote:
> Can you check your remap rule? Perhaps, you may need to add trailing / in
> the source URL in the remap rule.
Can you check your remap rule? Perhaps, you may need to add trailing / in the
source URL in the remap rule.
Thanks,
Sudheer
On Wednesday, March 9, 2016 12:43 PM, Dk Jack wrote:
Hi,
I am using atscppapi in my plugin. Specifically, I am using AsyncHttpFetch
api.
When I use the AsyncHttpFe
Hi,
I am using atscppapi in my plugin. Specifically, I am using AsyncHttpFetch
api.
When I use the AsyncHttpFetch with a regular url say like '
http://www.foo.com:/' it works.
However, if I use the fetch api with a url that includes query args i.e. '
http://www.foo.com:/?name=jdoe'
the requ