On Mon, Aug 15, 2011 at 12:30 PM, Leonid Evdokimov <l...@darkk.net.ru>wrote:

> On Fri, Aug 12, 2011 at 22:48, about bus <about...@gmail.com> wrote:
> > So, if everything ok with network, where libevent or maybe OS (FreeBSD
> 7.2)
> > holds request for 30 / 75 seconds?
>
> Do you use ACCEPT_FILTER in your http server? I think it can create
> such delay in case of some nasty bug.
>
>
No, I don't use such system functions.
Http server use only libevent http functions for network communication.

evthread_use_pthreads;
event_base_new
evhttp_new
evhttp_set_gencb
evhttp_bind_socket
while (1) {
   event_base_loop
   evhttp_send_reply
}
evhttp_free
event_base_free

Reply via email to