Commit f432326d authored by Simon Morlat's avatar Simon Morlat
Browse files

fix regression resulting in many warnings printed in case of SSL disconnection

parent 40dd2e6b
......@@ -39,6 +39,7 @@ static void tls_channel_close(belle_sip_tls_channel_t *obj){
belle_sip_socket_t sock = belle_sip_source_get_socket((belle_sip_source_t*)obj);
if (sock!=-1)
ssl_close_notify(&obj->sslctx);
stream_channel_close((belle_sip_stream_channel_t*)obj);
}
static void tls_channel_uninit(belle_sip_tls_channel_t *obj){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment