Thanks!
I am also trying to check if certain tags exist in the HTTP header (like
no-cache, no-store...)
I am doing something like this:
cache_tag=TSMimeHdrFieldFind(bufp,hdr_loc,TS_HTTP_VALUE_NO_CACHE,-1);
And it doesn't work.
Is this the correct function I should use?
-Origina
On 13 Jun 2012, at 15:49, Dror Yardeni wrote:
> Thanks!
>
> One more thing. Is it possible to read (place in a temporary buffer) the
> content of the returned object? Or just its first 100 bytes?
> (for example, if the client requested a small video from the server, can I
> somehow inspect the
Thanks!
One more thing. Is it possible to read (place in a temporary buffer) the
content of the returned object? Or just its first 100 bytes?
(for example, if the client requested a small video from the server, can I
somehow inspect the video itself? What is the API?)
Thanks in advance,
Dror
On 6/12/12 11:22 PM, Shu Kit Chan wrote:
Hi,
Using header_filter plugin, I can add or replace header to the request/response.
However, I find it often useful to add/replace header based on some conditions.
I know we can attach the plugin to the mapping rules that we want in
remap.config and ther
I used TS 3.0.5, system always segfault occurs, do is a Bug?
Program terminated with signal 11, Segmentation fault.
#0 0x006b5d84 in CacheVC::openWriteStartDone (this=0x2b3bdcd69110,
event=2, e=0x22e4250)
at CacheWrite.cc:1574
1574 od->reading_vec = 0;
(gdb) bt
#0 0x