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:
parent
0f6f7c100a
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user