зеркало из https://github.com/mozilla/gecko-dev.git
SSL_ForceHandshake() too heavyweight: bug 75583 r=javi
This commit is contained in:
Родитель
4016a3fd40
Коммит
cd4dec03f4
|
@ -360,7 +360,8 @@ nsSSLIOLayerConnect(PRFileDesc* fd, const PRNetAddr* addr,
|
|||
(void*)fd, forceHandshake, useTLS));
|
||||
|
||||
if (!useTLS && forceHandshake) {
|
||||
PRInt32 res = SSL_ForceHandshake(fd);
|
||||
// Kick-start the handshake in order to work around bug 66706
|
||||
PRInt32 res = PR_Write(fd,0,0);
|
||||
|
||||
if (res == -1) {
|
||||
PR_LOG(gPIPNSSLog, PR_LOG_ERROR, ("[%p] ForceHandshake failure -- error %d\n",
|
||||
|
|
Загрузка…
Ссылка в новой задаче