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

Function ClientError

extra/yassl/examples/client/client.cpp:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30void ClientError(SSL_CTX* ctx, SSL* ssl, SOCKET_T& sockfd, const char* msg)
31{
32 SSL_CTX_free(ctx);
33 SSL_free(ssl);
34 tcp_close(sockfd);
35 err_sys(msg);
36}
37
38
39#ifdef NON_BLOCKING

Callers 2

NonBlockingSSL_ConnectFunction · 0.85
client_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