On Mon, Nov 16, 2009 at 6:43 PM, Patrick C <[email protected]> wrote: > Agreed. The most optimal way of doing this would be to use your operating > system's sendfile() routine, where available, in the evhttp_write_cb > routine.
The way you would do this in libevent 2.0 is to use evbuffer_add_file() and then send that via evhttp_send_reply(). Niels. *********************************************************************** To unsubscribe, send an e-mail to [email protected] with unsubscribe libevent-users in the body.
