mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-21 04:44:25 -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
|
@ -38,7 +38,7 @@ static const int STUN_TTL = 64;
|
|||
* #define DEBUG_UDP_STUNNER_FILTER 1
|
||||
*/
|
||||
|
||||
#define DEBUG_UDP_STUNNER 1
|
||||
//#define DEBUG_UDP_STUNNER 1
|
||||
|
||||
const int32_t TOU_STUN_MAX_FAIL_COUNT = 3; /* 3 tries (could be higher?) */
|
||||
const int32_t TOU_STUN_MAX_SEND_RATE = 5; /* every 5 seconds */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue