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

Attachment: 0001-Added-http-keep-alive-check-into-the-plugin-api.patch
Description: Binary data

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to