forked from premiere/premiere-libtorrent
merged ssl fix from RC_0_16
This commit is contained in:
parent
3555b01b85
commit
b3ad105145
|
@ -2240,7 +2240,8 @@ retry:
|
|||
{
|
||||
listen_socket_t s;
|
||||
s.ssl = true;
|
||||
setup_listener(&s, ssl_interface, 10, false, flags, ec);
|
||||
int retries = 10;
|
||||
setup_listener(&s, ssl_interface, retries, false, flags, ec);
|
||||
|
||||
if (s.sock)
|
||||
{
|
||||
|
@ -2268,8 +2269,9 @@ retry:
|
|||
{
|
||||
listen_socket_t s;
|
||||
s.ssl = true;
|
||||
int retries = 10;
|
||||
setup_listener(&s, tcp::endpoint(address_v6::any(), ssl_interface.port())
|
||||
, 10, false, flags, ec);
|
||||
, retries, false, flags, ec);
|
||||
|
||||
if (s.sock)
|
||||
{
|
||||
|
@ -2318,7 +2320,8 @@ retry:
|
|||
{
|
||||
listen_socket_t s;
|
||||
s.ssl = true;
|
||||
setup_listener(&s, ssl_interface, 10, false, flags, ec);
|
||||
int retries = 10;
|
||||
setup_listener(&s, ssl_interface, retries, false, flags, ec);
|
||||
|
||||
if (s.sock)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue