An excellent beginning.

On Fri, May 11, 2012 at 12:21 AM, James Peach <jpe...@apache.org> wrote:
> Hi all,
>
> I just committed a prototype remap plugin to the jpeach/lua branch that lets 
> you write remap plugins in Lua. I'd say it's at proof of concept stage. It 
> seems to basically work but it's never taken any real load. The error 
> handling is pretty lackadaisical.
>
> Here's an example that should give you a feel:
>
>    
> <https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=blob_plain;f=plugins/lua/example.lua;hb=jpeach/lua>
>
> I'd appreciate any comments about the API and the general approach. I think 
> the most controversial aspect is that the plugin does not explicitly choose 
> whether the remap evaluation chain continues. Request redirects and 
> rejections terminate the chain; anything else allows it to continue.
>
> It's not clear to me yet how to extend the remap case to the general plugin 
> case. Is the remap plugin useful enough to stand on it's own?
>
> J



-- 
Theo Schlossnagle

http://omniti.com/is/theo-schlossnagle

Reply via email to