diff --git a/src/shrpx_connection_handler.h b/src/shrpx_connection_handler.h index dab41802..de8d849b 100644 --- a/src/shrpx_connection_handler.h +++ b/src/shrpx_connection_handler.h @@ -184,7 +184,7 @@ private: // and signature algorithm presented by client. std::vector> indexed_ssl_ctx_; OCSPUpdateContext ocsp_; - std::mt19937 gen_; + std::mt19937 &gen_; // ev_loop for each worker std::vector worker_loops_; // Worker instances when multi threaded mode (-nN, N >= 2) is used.