Fixed a bug with Letsencrypt certs

One of internal buffers was too small
This commit is contained in:
SChernykh
2024-11-27 19:49:05 +01:00
parent 1029faa02f
commit 86962eb7aa
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -58,7 +58,8 @@ StratumServer::StratumServer(p2pool* pool)
, m_totalFailedShares(0)
, m_apiLastUpdateTime(0)
{
m_callbackBuf.resize(STRATUM_BUF_SIZE);
// Need a bigger buffer for the TLS handshake
m_callbackBuf.resize(STRATUM_CALLBACK_BUF_SIZE);
// Diffuse the initial state in case it has low quality
m_rng.discard(10000);