Re: [Libevent-users] detected a bad network connection for a TCP connection

2011-02-08 Thread Springande Ulv
On Feb 8, 2011, at 8:08 PM, Nick Mathewson wrote: >> Do you know how I can detect the disconnection caused by bringing down >> the interface on the server ... while still using libevent? > > If there's a good way to do this, Libevent or no, I'd like to know about it > too. The best reliable wa

Re: [Libevent-users] Something to consider for future

2010-09-07 Thread Springande Ulv
On Sep 7, 2010, at 5:35 PM, Nick Mathewson wrote: > The remaining non-static symbols are ones > shared between modules, and of course C doesn't let you make those > static. The right solution here is probably to manually tell the > linker about what symbols to export and what symbols not to expo

Re: [Libevent-users] 100% cpu utilization with openssl bufferevent.

2010-04-29 Thread Springande Ulv
From my experience such "while-true" loops are typically created if you neglect to check if the connection was closed on the client side and instead reinsert the connection in libevent. In this case libevent will immediately report that the connection is readable. On 29. apr. 2010, at 12.10, S