Dear Nick,
thank you so much for your help. The test program is working now.
On 11/05/2012, Nick Mathewson wrote:
> * In server_read_cb, you do an evbuffer_add() to queue data to be sent
> followed immediately by a bufferevent_free() on the same buffer.
> That's not a safe pattern: bufferevent_f
On Fri, May 11, 2012 at 5:07 AM, Alexander Klauer
wrote:
> Hi,
>
> I'm new to libevent and have the following problem with bufferevents.
> I have a server talking to many clients. Very occasionally (when the
> number of clients is around 1000 or larger), the server writes a
> message to the client
Hi,
I'm new to libevent and have the following problem with bufferevents.
I have a server talking to many clients. Very occasionally (when the
number of clients is around 1000 or larger), the server writes a
message to the client, which is read by the client (strace shows that
readv() is successfu