[Libevent-users] draining bufferevents internal buffer

2012-09-21 Thread Julian Scheel
Hi, I wonder if there is a way to drain the internal buffer of a bufferevent? Actually I use a bufferevent to write data into a socket. But it can happen that the socket is not accepting data for a while, which obviously lets the bufferevents internal buffer grow. Now I'd like to set a maximum

[Libevent-users] draining bufferevents internal buffer

2012-09-21 Thread Julian Scheel
Hi, I wonder if there is a way to drain the internal buffer of a bufferevent? Actually I use a bufferevent to write data into a socket. But it can happen that the socket is not accepting data for a while, which obviously lets the bufferevents internal buffer grow. Now I'd like to set a maximum