From 42ed1c2f270224205770779d158fef5f24f4324c Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Tue, 26 May 2015 14:14:24 +0100 Subject: [PATCH] Increased ssl error rate limit from 50k to 100k #4650 @speaker This is nuts... my mac client now errors 50k times before it eventually connects. --- src/lib/plugin/ns/SecureSocket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/plugin/ns/SecureSocket.cpp b/src/lib/plugin/ns/SecureSocket.cpp index 4d892246..04117742 100644 --- a/src/lib/plugin/ns/SecureSocket.cpp +++ b/src/lib/plugin/ns/SecureSocket.cpp @@ -38,8 +38,8 @@ enum { // this limit seems extremely high, but mac client seem to generate around - // 20,000 errors before they establish a connection (wtf?) - kMaxRetryCount = 50000 + // 50,000 errors before they establish a connection (wtf?) + kMaxRetryCount = 100000 }; static const char kFingerprintDirName[] = "SSL/Fingerprints";