| 1380 | } |
| 1381 | |
| 1382 | uint32_t GetNumPoolConnections() |
| 1383 | { |
| 1384 | dmConnectionPool::HPool pool = g_PoolCreator.GetPool(); |
| 1385 | |
| 1386 | dmConnectionPool::Stats stats; |
| 1387 | dmConnectionPool::GetStats(pool, &stats); |
| 1388 | return stats.m_InUseAndValid; // For the unit test to be able to wait for a connection in flight |
| 1389 | |
| 1390 | } |
| 1391 | |
| 1392 | #undef HTTP_CLIENT_SENDALL_AND_BAIL |
| 1393 |