2011/3/8 林宇舜 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 'to
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
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
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 connection by bufferevent_free(bev) in event cal