mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
fix GnuTLS connect timeout
This commit is contained in:
parent
fb23bc0611
commit
3b6a3e84a0
@ -1,3 +1,7 @@
|
||||
2013-12-26 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||
|
||||
* gnutls.c (ssl_connect_wget): Fix connect timeout failure
|
||||
|
||||
2013-11-02 Giuseppe Scrivano <gscrivan@redhat.com>
|
||||
|
||||
* http.c (gethttp): Increase max header value length to 512.
|
||||
|
@ -526,8 +526,7 @@ ssl_connect_wget (int fd, const char *hostname)
|
||||
break;
|
||||
}
|
||||
|
||||
if (err <= 0)
|
||||
break;
|
||||
err = GNUTLS_E_AGAIN;
|
||||
}
|
||||
else if (err < 0)
|
||||
{
|
||||
@ -543,7 +542,7 @@ ssl_connect_wget (int fd, const char *hostname)
|
||||
}
|
||||
}
|
||||
}
|
||||
while (err == GNUTLS_E_WARNING_ALERT_RECEIVED && gnutls_error_is_fatal (err) == 0);
|
||||
while (err && gnutls_error_is_fatal (err) == 0);
|
||||
|
||||
if (opt.connect_timeout)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user