MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / EchoError

Function EchoError

extra/yassl/examples/echoserver/echoserver.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44
45void EchoError(SSL_CTX* ctx, SSL* ssl, SOCKET_T& s1, SOCKET_T& s2,
46 const char* msg)
47{
48 SSL_CTX_free(ctx);
49 SSL_free(ssl);
50 tcp_close(s1);
51 tcp_close(s2);
52 err_sys(msg);
53}
54
55
56THREAD_RETURN YASSL_API echoserver_test(void* args)

Callers 1

echoserver_testFunction · 0.85

Calls 4

SSL_CTX_freeFunction · 0.85
SSL_freeFunction · 0.85
tcp_closeFunction · 0.85
err_sysFunction · 0.50

Tested by

no test coverage detected