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.
-Patrick
2009/11/16 Tero Marttila
> Krzysztof Adamski wrote:
>
>> Hi,
>> i would like to build simple HTTPD server using libevent2. It is going
Krzysztof Adamski wrote:
Hi,
i would like to build simple HTTPD server using libevent2. It is going
to send some quite big files but i would like it to handle couple
concurrent connections. The files can be sent in chunks so I'm using
evhttp_send_reply_chunk for this. The problem is, how can I se
Hi,
i would like to build simple HTTPD server using libevent2. It is going
to send some quite big files but i would like it to handle couple
concurrent connections. The files can be sent in chunks so I'm using
evhttp_send_reply_chunk for this. The problem is, how can I send big
files while still be