You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Shu Kit Chan <ch...@gmail.com> on 2013/10/29 23:31:04 UTC

question on atscppapi

Hi,

I am experimenting to rewrite esi plugin using only atscppapi.
First bit of feedback - I need to do transformation on response after the
cache_lookup_complete hook. But it isn't available in the api.

I look up the source and it should be pretty easy to add it myself. So i
think i can submit a patch. But is there any hidden reason that this hook
is not available in the
 first place?

Thanks.

Kit

Re: question on atscppapi

Posted by Shu Kit Chan <ch...@gmail.com>.
I started a bit already but I am blocked without the cache_lookup_complete
hook support as well as TSHttpTxnCacheLookupStatusGet() support in a method
in Transaction object. If you are making changes now, it would be great if
you can add these as well. I am pretty sure these stuffs are just bells and
whistles for your work/api.

I can stop now and wait for you to complete before I pick it up again. When
you are done, feel free to ping me individually so that I can try out your
work/api on a slighty more complicated plugin.

Thanks.



On Tue, Oct 29, 2013 at 3:46 PM, Brian Geffon <br...@apache.org> wrote:

> Hi Kit,
> You might consider waiting a few weeks, I'm still implementing many of the
> suggestions from the most recent ATS Summit. The first set of changes will
> be removing standard library containers for headers. If you're willing to
> tolerate changes to the api over the coming weeks feel free to get started
> now and I can help you as you go.
>
> Brian
>
>
> On Tue, Oct 29, 2013 at 3:31 PM, Shu Kit Chan <ch...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I am experimenting to rewrite esi plugin using only atscppapi.
> > First bit of feedback - I need to do transformation on response after the
> > cache_lookup_complete hook. But it isn't available in the api.
> >
> > I look up the source and it should be pretty easy to add it myself. So i
> > think i can submit a patch. But is there any hidden reason that this hook
> > is not available in the
> >  first place?
> >
> > Thanks.
> >
> > Kit
> >
>

Re: question on atscppapi

Posted by Brian Geffon <br...@apache.org>.
Hi Kit,
You might consider waiting a few weeks, I'm still implementing many of the
suggestions from the most recent ATS Summit. The first set of changes will
be removing standard library containers for headers. If you're willing to
tolerate changes to the api over the coming weeks feel free to get started
now and I can help you as you go.

Brian


On Tue, Oct 29, 2013 at 3:31 PM, Shu Kit Chan <ch...@gmail.com> wrote:

> Hi,
>
> I am experimenting to rewrite esi plugin using only atscppapi.
> First bit of feedback - I need to do transformation on response after the
> cache_lookup_complete hook. But it isn't available in the api.
>
> I look up the source and it should be pretty easy to add it myself. So i
> think i can submit a patch. But is there any hidden reason that this hook
> is not available in the
>  first place?
>
> Thanks.
>
> Kit
>