before I try it let ask you a question.

Isn't it allowed to use TS_HTTP_TXN_START_HOOK in header_filter plugin? why
does it HookAdd from TS_HTTP_READ_REQUEST_HDR_HOOK?

Thanks.

-----Original Message-----
From: Leif Hedstrom [mailto:zw...@apache.org] 
Sent: Friday, June 08, 2012 1:15 PM
To: dev@trafficserver.apache.org
Cc: 오재경
Subject: Re: a plugin to specific domain. need helps.

On 6/7/12 7:24 PM, 오재경 wrote:
> hello. This is jay and it’s been 2 weeks since I started to work on 
> traffic server.
>
> I’m working on a throttling plugin. can I assign the plugin to a 
> specific domain like remap plugin?
>
> For example, a throttle plugin serves www.exampleA.com and another 
> plugin serves www.exampleB.com.
>
>

The easiest is to make your plugin both a transform and a remap plugin.
For an example how to do that, look at the header_filter plugin. It is used
to basically "activate" a hook at a later stage, triggered by which
remap.config rule matched.

I think that's what you are asking to do ?

-- Leif

Reply via email to