MCPcopy Create free account
hub / github.com/defold/defold / GetSSLSocket

Function GetSSLSocket

engine/dlib/src/dlib/connection_pool.cpp:612–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

610 }
611
612 dmSSLSocket::Socket GetSSLSocket(HPool pool, HConnection connection)
613 {
614 DM_MUTEX_SCOPED_LOCK(pool->m_Mutex);
615
616 Connection* c = GetConnection(pool, connection);
617 assert(c->m_State == STATE_INUSE);
618 return c->m_SSLSocket;
619 }
620
621 uint32_t GetReuseCount(HPool pool, HConnection connection)
622 {

Callers 3

ConnectMethod · 0.85
CreateSSLSocketMethod · 0.85
TEST_FFunction · 0.85

Calls 2

GetConnectionFunction · 0.85
assertFunction · 0.50

Tested by 1

TEST_FFunction · 0.68