MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / process_client_socket_ssl

Function process_client_socket_ssl

dependencies/httplib/httplib.h:7140–7147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7138
7139template <typename T>
7140inline bool
7141process_client_socket_ssl(SSL *ssl, socket_t sock, time_t read_timeout_sec,
7142 time_t read_timeout_usec, time_t write_timeout_sec,
7143 time_t write_timeout_usec, T callback) {
7144 SSLSocketStream strm(sock, ssl, read_timeout_sec, read_timeout_usec,
7145 write_timeout_sec, write_timeout_usec);
7146 return callback(strm);
7147}
7148
7149#if OPENSSL_VERSION_NUMBER < 0x10100000L
7150static std::shared_ptr<std::vector<std::mutex>> openSSL_locks_;

Callers 1

process_socketMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected