Hi,

On Fri, Jul 26, 2013 at 8:21 AM, hamza zia <[email protected]> wrote:

> Hi,
>
> I wanted to check weather an http request is supposed to be kept alive
> from the caching plugin. How can I do this from a plugin?
> My usecase is that I only cache and send cache headers if its not a keep
> alive request and let monkey send headers if its a keep alive request.
> There is a function in mk_http.c called mk_http_keepalive_check but its not
> exposed to the monkey plugins. I could just copy over the checks from there
> as its not a big function but it may be more clean to have it part of the
> api. I have attached a simple patch to expose it through the plugin_api.
> What do you guys think?
>
> hamza
>
>
>
Why it makes some difference for your plugin if the connection is keepalive
or not ?, Keepalive requests are widely used by browsers and customized web
apps.

Please describe your restriction at plugin level if you dont know if is KA
or not.

regards,



-- 
Eduardo Silva
http://edsiper.linuxchile.cl
http://monkey-project.com
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to