| 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 | { |