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 callback.
But the memory seems only increased, don't be released. These memory is reachable, because I terminate the program gracefully by using event_base_loopexit() and event_base_free(), the memory can be released. Does bufferevent over SSL has any catch mechanism? How to release them or limit the maximun size? Or I miss some destruct functions? Brian
