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

Function ServerError

extra/yassl/examples/server/server.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

NonBlockingSSL_AcceptFunction · 0.85
server_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