mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Set auto-retry mode to avoid some spurious errors.
Submitted by: Andre Albsmeier <andre.albsmeier@siemens.com> MFC after: 7 days
This commit is contained in:
parent
b97c9ade96
commit
f8020ddefe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108579
|
@ -297,6 +297,7 @@ _fetch_ssl(conn_t *conn, int verbose)
|
|||
|
||||
conn->ssl_meth = SSLv23_client_method();
|
||||
conn->ssl_ctx = SSL_CTX_new(conn->ssl_meth);
|
||||
SSL_CTX_set_mode(conn->ssl_ctx, SSL_MODE_AUTO_RETRY);
|
||||
|
||||
conn->ssl = SSL_new(conn->ssl_ctx);
|
||||
if (conn->ssl == NULL){
|
||||
|
|
Loading…
Reference in a new issue