There is only one event : TS_EVENT_HTTP_READ_REQUEST_HDR
But it seems to happens twice while there is only one request send to the
server.
2011/8/29 Leif Hedstrom
> On 08/29/2011 05:16 AM, Edouard Pichonnier wrote:
>
>> I use this function :
>>
>> TSHttpHookAdd(TS_HTTP_READ_**REQUEST_HDR_HOOK,
On 08/29/2011 05:16 AM, Edouard Pichonnier wrote:
I use this function :
TSHttpHookAdd(TS_HTTP_READ_REQUEST_HDR_HOOK, TSContCreate(add_header_plugin,
NULL));
Is it getting called with the same event, or different events?
-- Leif
; > second works as the append-transform example. The problem I'm dealing
> > with
> > is that the plug-ins are running twice for each request I send to TS
> > when
> > the data is send by the origin server.
>
> Exactly where and how did you hook those plugins
- Original Message -
> Hello,
> I am currently working on two plug-ins. The first adds a MIME header
> and the
> second works as the append-transform example. The problem I'm dealing
> with
> is that the plug-ins are running twice for each request I send to TS
&g
Hello,
I am currently working on two plug-ins. The first adds a MIME header and the
second works as the append-transform example. The problem I'm dealing with
is that the plug-ins are running twice for each request I send to TS when
the data is send by the origin server.
Thanks,
Edouard