MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / SSLSocketStream

Method SSLSocketStream

external/httplib.h:8922–8932  ·  view source on GitHub ↗

SSL socket stream implementation

Source from the content-addressed store, hash-verified

8920
8921// SSL socket stream implementation
8922inline SSLSocketStream::SSLSocketStream(socket_t sock, SSL *ssl,
8923 time_t read_timeout_sec,
8924 time_t read_timeout_usec,
8925 time_t write_timeout_sec,
8926 time_t write_timeout_usec)
8927 : sock_(sock), ssl_(ssl), read_timeout_sec_(read_timeout_sec),
8928 read_timeout_usec_(read_timeout_usec),
8929 write_timeout_sec_(write_timeout_sec),
8930 write_timeout_usec_(write_timeout_usec) {
8931 SSL_clear_mode(ssl, SSL_MODE_AUTO_RETRY);
8932}
8933
8934inline SSLSocketStream::~SSLSocketStream() = default;
8935

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected