mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 12:24:24 -04:00
More Udp Connection Bugfixes:
* connected Dht ConnectCallback() * added missing break statement in peernet logic (directattempt). * added state update if ConnectionRequest is rejected by DHT (normally because MODE UNAVAILABLE). * switched off UdpStunner. * added Debug Modes to rsUdpStack & rsFixedUdpStack. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-netupgrade@4448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0229ef1fe8
commit
bffaf6e5ef
5 changed files with 59 additions and 14 deletions
|
@ -375,7 +375,7 @@ uint32_t PeerConnectStateBox::connectCb_direct()
|
|||
}
|
||||
else if (mNoAttempts >= MAX_DIRECT_ATTEMPTS) /* if too many attempts */
|
||||
{
|
||||
/* switch to RELAY attempt */
|
||||
/* no RELAY attempt => FAILED_WAIT */
|
||||
mState = CSB_FAILED_WAIT;
|
||||
retval = CSB_ACTION_WAIT;
|
||||
mStateTS = now;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue