Re: [Libevent-users] a bug in libevent IOCP

2014-11-14 Thread Nick Mathewson
On Fri, Nov 14, 2014 at 4:04 AM, jason wrote: > These days, I use libevent IOCP for my server programming, but I was trapped > in a situation where some network package data sent by client first time > will be lost. The following codes suffers from that bug. > > > >m_pBufferEve

[Libevent-users] a bug in libevent IOCP

2014-11-14 Thread jason
These days, I use libevent IOCP for my server programming, but I was trapped in a situation where some network package data sent by client first time will be lost. The following codes suffers from that bug. m_pBufferEvent = bufferevent_socket_new( pBase, fSocket, BUFFER_EVENT