Re: Plug-ins are running twice

2011-08-30 Thread Edouard Pichonnier
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,

Re: Plug-ins are running twice

2011-08-29 Thread Leif Hedstrom
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

Re: Plug-ins are running twice

2011-08-29 Thread Edouard Pichonnier
; > 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

Re: Plug-ins are running twice

2011-08-29 Thread Igor Galić
- 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

Plug-ins are running twice

2011-08-24 Thread Edouard Pichonnier
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