mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1131880 - Modify the condition to disallow PR_CONNECT_RESET_ERROR on fallback. r=keeler
This commit is contained in:
parent
150d422525
commit
c8e087c026
@ -1227,10 +1227,10 @@ retryDueToTLSIntolerance(PRErrorCode err, nsNSSSocketInfo* socketInfo)
|
||||
return false;
|
||||
}
|
||||
|
||||
// Allow PR_CONNECT_RESET_ERROR only for whitelisted sites.
|
||||
// Disallow PR_CONNECT_RESET_ERROR if fallback limit reached.
|
||||
if (err == PR_CONNECT_RESET_ERROR &&
|
||||
!socketInfo->SharedState().IOLayerHelpers()
|
||||
.isInsecureFallbackSite(socketInfo->GetHostName())) {
|
||||
socketInfo->SharedState().IOLayerHelpers()
|
||||
.fallbackLimitReached(socketInfo->GetHostName(), range.max)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user