There are two API: TSHttpTxnClientRespBodyBytesGet
and TSHttpTxnClientRespHdrBytesGet (can be invoked in
TS_HTTP_TXN_CLOSE_HOOK in my test). I think their returned value are %
and %.
Content-Length is larger than transfered length, because user-agent can
easily abort request.
On Fri, Aug 17, 201
This is not a bug. But I find there is no way to turn off the debug string
in Via header.
https://issues.apache.org/jira/browse/TS-973?focusedCommentId=13285471&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13285471
On Wed, May 30, 2012 at 12:58 PM, Leif Hedstrom
hi, I use requestBufp to read the request. But mapFromUrl/requestUrl will
be changed in a situation, which is not what you want. here is my email
last year.
>From Conan
Subject remap plugin question when pristine_host_hdr is enabled
Date Fri, 29 Jul 2011 15:25:25 GMT
In proxy/http/re
anyone add TS-824? that works for me on my custom 3.0.x version.
On Wed, Feb 22, 2012 at 10:56 AM, Brian Geffon wrote:
> Hello All,
> We are preparing for a 3.0.4 stable release, if anyone has backport
> proposals please add them to the STATUS and JIRA. As always don't forget to
> vote on propo
hi igalic.
2011/12/15 Igor Galić
>
>
> - Original Message -
> > hi,
>
> Hi Conan,
>
> > I modified the combo_handler's code (almost API migration work) , and
> > it works. If you want a try, here is the reference.
>
> IIRC, getting combo_
hi,
I modified the combo_handler's code (almost API migration work) , and it
works. If you want a try, here is the reference.
Combo_handler requires ESI's code and I can't make ESI work, so I copy
ESI's code to combo_handler's directory and write a Makefile.
combo_handler
|combo_handler.cc
|
If origin server return 416 as well as Cache-Control: max-age=100, ATS will
cache the bad response. ( I
disable proxy.config.http.negative_caching_enabled)
Seem 416 is not "negative response", or turning off negative_caching is not
prior to "Cache-Control".
Hi,
Currently(3.0.1), traffic_server will exit if exists bad rules in
remap.config, whenever startup or reload ( traffic_line -x ).
Bad rules I found:
1. duplicate map rule ( ATS 2.x will use first one and ignore the left ).
2. add a remap plugin which is not exist.
3. return TS_ERROR in TSRemapN
Yes, TS-906.
2011/8/7 Leif Hedstrom
> On 08/06/2011 12:42 AM, Conan wrote:
>
>> in HttpConfig.cc, why ATS doesn't read
>> "proxy.config.http.forward.**proxy_auth_to_parent"
>>
>> line 1221:
>> c.fwd_proxy_auth_to_parent = 0
>>
in HttpConfig.cc, why ATS doesn't read
"proxy.config.http.forward.proxy_auth_to_parent"
line 1221:
c.fwd_proxy_auth_to_parent = 0
line 1439:
params->fwd_proxy_auth_to_parent = 0;
2011/8/5 Conan
> hi,
> In my case, I want to pass UA(or child proxy)'s "Pr
In proxy/http/remap/RemapPlugins.cc, line 147 say "plugin did not
change host, port or path, copying from mapping rule" when
TSRemapDoRemap return TSREMAP_NO_REMAP or TSREMAP_NO_REMAP_STOP.
If url_remap.pristine_host_hdr is enabled, I think host should not be
copied(changed). This affects mapFrom
Yes, that fixed it. I'v filed this bug.
2011/5/30 Leif Hedstrom
> On 05/29/2011 11:53 AM, Conan wrote:
>
>> error when compile any plugins with tsxs: (test on ubuntu 10.04 32bit /
>> mac
>> os 10.6.7 64bit)
>>
>> /home/ts/ts-2.1.9/bin/tsxs -c h
error when compile any plugins with tsxs: (test on ubuntu 10.04 32bit / mac
os 10.6.7 64bit)
/home/ts/ts-2.1.9/bin/tsxs -c hello.c -o hello.so
compiling hello.c -> hello.lo
In file included from hello.c:25:
/home/ts/ts-2.1.9/include/ts/ts.h:616: error: expected
specifier-qualifier-list before '
ect?
> for example:
> http://www.example.com/abc.jpg?id=1,http://www.example.com/abc.jpg?id=2assign
> to
> http://www.example.com/abc.jpg object?
> Thanks
>
>
--
Regards,
Conan
14 matches
Mail list logo