forked from premiere/premiere-libtorrent
leopart listen failure workaround
This commit is contained in:
parent
cab106adad
commit
77f9278a36
|
@ -640,6 +640,15 @@ namespace aux {
|
|||
async_accept(listener);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#ifdef TORRENT_BSD
|
||||
// Leopard sometimes generates an "invalid argument" error. It seems to be
|
||||
// non-fatal and we have to do another async_accept.
|
||||
if (e.value() == EINVAL)
|
||||
{
|
||||
async_accept(listener);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
if (m_alerts.should_post(alert::fatal))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue