mirror of
https://github.com/curl/curl.git
synced 2026-07-16 10:27:15 +03:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue