Threading issue fix?
This commit is contained in:
parent
4d5983114c
commit
dd8b03a5c5
2 changed files with 6 additions and 3 deletions
|
@ -719,7 +719,7 @@ bool Switch::_trySend(void *tPtr,Packet &packet,bool encrypt)
|
|||
}
|
||||
}
|
||||
} else {
|
||||
return false; // if we are not in cluster mode, there is no way we can send without knowing the peer directly
|
||||
return false;
|
||||
}
|
||||
|
||||
unsigned int chunkSize = std::min(packet.size(),(unsigned int)ZT_UDP_DEFAULT_PAYLOAD_MTU);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue