hi aymeric,
one more improvement for eXosip:
since eXosip calls WSAStartup, but never WSACleanup, this causes a memory/handle leak.
I would suggest to add the following in eXosip_quit:
…
eXtl_udp.tl_free (excontext);
eXtl_tcp.tl_free (excontext);
#ifdef HAVE_OPENSSL_SSL_H
#if !(OPENSSL_VERSION_NUMBER < 0x00908000L)
eXtl_dtls.tl_free (excontext);
#endif
eXtl_tls.tl_free (excontext);
#endif
memset (excontext, 0, sizeof (eXosip_t));
excontext->j_stop_ua = -1;
#ifdef WIN32
WSACleanup();
#endif
return;
}
br,
Christoph