diff options
Diffstat (limited to 'vbench/src/vbench/http/http_connection_pool.h')
-rw-r--r-- | vbench/src/vbench/http/http_connection_pool.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vbench/src/vbench/http/http_connection_pool.h b/vbench/src/vbench/http/http_connection_pool.h index cdc97104938..919eceb1fef 100644 --- a/vbench/src/vbench/http/http_connection_pool.h +++ b/vbench/src/vbench/http/http_connection_pool.h @@ -24,11 +24,13 @@ private: vespalib::Lock _lock; Map _map; std::vector<Queue> _store; + CryptoEngine::SP _crypto; Timer &_timer; public: - HttpConnectionPool(Timer &timer); + HttpConnectionPool(CryptoEngine::SP crypto, Timer &timer); ~HttpConnectionPool(); + CryptoEngine &crypto() { return *_crypto; } HttpConnection::UP getConnection(const ServerSpec &server); void putConnection(HttpConnection::UP conn); }; |