[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Re: libevent http and lost requests



On Sun, Aug 14, 2011 at 04:15:10PM +0300, about bus wrote:
> I've checked this, domain name resolution does not take much time.
> Issue somewhere between end of evhttp_socket_cb and start of evhttp_read_cb
> functions calls.
> 
> 2011.08.14 16:52:27 [warn] ===  evhttp_socket_cb: fd: 131
> 2011.08.14 16:52:27 [warn] ===  evhttp_get_request_connection: fd: 131 new
> request from 127.0.0.1:53282
> 2011.08.14 16:52:27 [warn] ===  evhttp_get_request_connection [[before
> return]]: fd: 131 ### return from function
> 2011.08.14 16:52:27 [warn] ===  evhttp_start_read: fd: 131
> 2011.08.14 16:52:27 [warn] ===  evhttp_socket_cb [[before return]]: fd: 131
> ### return from function
> 2011.08.14 16:52:57 [warn] ---  event_active: 0x803032390 (fd: 131), res 2,
> callback 0x800797140
> 2011.08.14 16:52:57 [warn] ===  evhttp_read_cb: fd: 131 len: 401: data: GET
> /qyery/xxx/yyy/ <-- headers --->

These logs are looking different each time you post. Are you able to
reproduce this in a consistent manner?

Have you checked out ltrace/strace?
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.