Transfer speed increate + stability fixes

This commit is contained in:
Joseph Henry 2016-01-20 13:38:14 -08:00
parent 357cb92f2e
commit bcaf42e075
4 changed files with 27 additions and 23 deletions

View file

@ -976,7 +976,7 @@ public:
ZT_PHY_SOCKFD_TYPE sock = s->sock; // if closed, s->sock becomes invalid as s is no longer dereferencable
if ((FD_ISSET(sock,&wfds))&&(FD_ISSET(sock,&_writefds))) {
try {
_handler->phyOnUnixWritable((PhySocket *)&(*s),&(s->uptr));
_handler->phyOnUnixWritable((PhySocket *)&(*s),&(s->uptr),false);
} catch ( ... ) {}
}
if (FD_ISSET(sock,&rfds)) {