I'm using libevent to handle incoming requests, but I need to fire off a 
backend http request to an internal service (basically a multi-tier app). I 
need a sub-second timeout on this, so I patched libevent to make this possible. 
I preserved the existing interface ( evhttp_connection_set_timeout) and added a 
new one: evhttp_connection_set_timeout_in_ms.

Seems useful, might be worth adding to the core library. Attached patch is 
against 1.4.6.

Brian

Attachment: ms_timeout_patch.diff
Description: ms_timeout_patch.diff

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to