gtls: don't fail on non-fatal alerts during handshake
Stop curl from failing when non-fatal alert is received during handshake. This e.g. fixes lots of problems when working with https sites through proxies.
This commit is contained in:
Родитель
0f6f7c100a
Коммит
d5aab55b33
|
@ -327,7 +327,8 @@ static CURLcode handshake(struct connectdata *conn,
|
|||
if(strerr == NULL)
|
||||
strerr = gnutls_strerror(rc);
|
||||
|
||||
failf(data, "gnutls_handshake() warning: %s", strerr);
|
||||
infof(data, "gnutls_handshake() warning: %s\n", strerr);
|
||||
continue;
|
||||
}
|
||||
else if(rc < 0) {
|
||||
const char *strerr = NULL;
|
||||
|
|
Загрузка…
Ссылка в новой задаче