Re: [Libevent-users] Memory won't be freed in SSL connection.

2011-03-07 Thread 林宇舜 Yu-Shun Lin
Thanks for your reply. My sample code is like as yours. I have try some release functions are mentioned in Openssl faq ( http://www.openssl.org/support/faq.html#PROG13) , but nothing improve. The memory usage is different between 'summary of valgrind' and 'top'. And I cannot locate the 'lost' mem

Re: [Libevent-users] Memory won't be freed in SSL connection.

2011-03-07 Thread Nick Mathewson
2011/2/21 林宇舜 Yu-Shun Lin : > Hi all, > > I construct SSL connection by using >   bev1 = bufferevent_socket_new(... fd ..., BEV_OPT_CLOSE_ON_FREE) >   bev2 = bufferevent_openssl_filter_new(... bev ..., BEV_OPT_CLOSE_ON_FREE) >   bufferevent_setcb(bev2, read_cb, ..., event_cb...) > And close connect

Re: [Libevent-users] Forked processes and signals

2011-03-07 Thread Nick Mathewson
On Sun, Mar 6, 2011 at 2:43 PM, Nick Mathewson wrote: > On Sat, Mar 5, 2011 at 4:59 AM, Christophe Fillot wrote: > [...] >> I guess this behavior is related to the epoll mechanism. >> > > Hi, Christophe!  I just tried your code and found out that the bug > does not appear on OSX 10.5 at all, but

Re: [Libevent-users] Re: RPC: patch for evrpc_free() and evrpc_unregister_rpc()

2011-03-07 Thread Nick Mathewson
On Fri, Mar 4, 2011 at 9:17 AM, Christophe Fillot wrote: > > It seems that the patch was corrupted in my previous email, here the > correct version. When I apply this patch, the unit tests don't pass any more. I get: rpc/basic_test: [forking] OK rpc/basic_message: [forking] OK rpc/basic_client: