[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] unsend data in output buffer when close connection
On Wed, Jan 21, 2015 at 06:11:19PM +0800, slump wrote:
> So, it seems that the best I can do is free the bufferevent and create new one
This is how I would do it, with CLOSE_ON_FREE set. I'm going to take a
wild guess and say it will not affect the performance of your
application, and in the meantime make things easier.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.