MCPcopy Create free account
hub / github.com/aixed/WeChat-Hook / SSLSocketStream

Method SSLSocketStream

include/httplib.h:7751–7761  ·  view source on GitHub ↗

SSL socket stream implementation

Source from the content-addressed store, hash-verified

7749
7750// SSL socket stream implementation
7751inline SSLSocketStream::SSLSocketStream(socket_t sock, SSL *ssl,
7752 time_t read_timeout_sec,
7753 time_t read_timeout_usec,
7754 time_t write_timeout_sec,
7755 time_t write_timeout_usec)
7756 : sock_(sock), ssl_(ssl), read_timeout_sec_(read_timeout_sec),
7757 read_timeout_usec_(read_timeout_usec),
7758 write_timeout_sec_(write_timeout_sec),
7759 write_timeout_usec_(write_timeout_usec) {
7760 SSL_clear_mode(ssl, SSL_MODE_AUTO_RETRY);
7761}
7762
7763inline SSLSocketStream::~SSLSocketStream() {}
7764

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected