Re: [Libevent-users] Memory leak with keepalive?

2010-07-07 Thread Zhu Han
Was the message lost or no one interested in this issue? best regards, hanzhu On Mon, Jun 28, 2010 at 9:25 PM, Zhu Han wrote: > Frank, Thank you for your patch. > > I made another patch several minutes ago. > > evhttp_request->userdone is used to indicate there is data bein

Re: [Libevent-users] Memory leak with keepalive?

2010-06-28 Thread Zhu Han
req->chunked) { evbuffer_add(req->evcon->output_buffer, "0\r\n\r\n", 5); best regards, hanzhu On Mon, Jun 28, 2010 at 7:32 PM, Frank Denis wrote: > Le Mon, Jun 28, 2010 at 07:21:21PM +0800, Zhu Han ecrivait : > > I observed the same problem in my environm

[Libevent-users] Memory leak with keepalive?

2010-06-28 Thread Zhu Han
Hi, Here is a report about memory leak with connection keepalive. http://archives.seul.org/libevent/users/Apr-2010/msg3.html I observed the same problem in my environment. I took some time to trace the cause. Seems like it's real

Re: [Libevent-users] Add support for WINDOWS Overlapped IO

2006-12-11 Thread Zhu Han
On 12/12/06, Kevin Sanders <[EMAIL PROTECTED]> wrote: On 12/11/06, Zhu Han <[EMAIL PROTECTED]> wrote: Ah, that's a good point. We're pretty sure it was 0, which means allow as many as physical processors, but if it was 1, that would explain it. Another clue with thi

Re: [Libevent-users] Add support for WINDOWS Overlapped IO

2006-12-11 Thread Zhu Han
On 12/11/06, Toby Douglass <[EMAIL PROTECTED]> wrote: Ah. Go look at socket_iocp_add_socket(). You'll find the very first call to socket_internal_iocp_read() occurs at the end of *that* function, which gets the read ball rolling. Yeah, you're right! I didn't pay attention to the prior so

Re: [Libevent-users] Add support for WINDOWS Overlapped IO

2006-12-11 Thread Zhu Han
On 12/11/06, Kevin Sanders <[EMAIL PROTECTED]> wrote: I'm not sure what limit your asking about. Are you talking about the GQCS milliseconds timeout value? In any case I'm not sure. He was using his own IOCP code. I mean the value of NumberOfConcurrentThreads* *when invoke CreateIoCompleti

[Libevent-users] Add support for WINDOWS Overlapped IO

2006-12-09 Thread Zhu Han
I'm afraid WINDOWS Overlapped IO is a critical feature for libevent because some of the servers required it. I try to implement this feature with Completion Port. Is anyone busing on it? If not, I will try to do it. ___ Libevent-users mailing list L