mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 901718, Part 2: fix comment, r=me
This commit is contained in:
parent
4ef7fa66b2
commit
2356f6f87a
@ -949,10 +949,12 @@ retryDueToTLSIntolerance(PRErrorCode err, nsNSSSocketInfo* socketInfo)
|
||||
// to retry without TLS.
|
||||
|
||||
// Don't allow STARTTLS connections to fall back on connection resets or
|
||||
// EOF. Also, don't fall back from TLS 1.0 to SSL 3.0 on connection,
|
||||
// EOF. Also, don't fall back from TLS 1.0 to SSL 3.0 for those errors,
|
||||
// because connection resets and EOF have too many false positives,
|
||||
// and we want to maximize how often we send TLS 1.0+ with extensions
|
||||
// if at all reasonable.
|
||||
// if at all reasonable. Unfortunately, it appears we have to allow
|
||||
// fallback from TLS 1.2 and TLS 1.1 for those errors due to bad
|
||||
// intermediaries.
|
||||
conditional:
|
||||
if (range.max <= SSL_LIBRARY_VERSION_TLS_1_0 ||
|
||||
socketInfo->GetHasCleartextPhase()) {
|
||||
|
Loading…
Reference in New Issue
Block a user