mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
disabled DIRECT UDP connections...
1) Not always stable, especially if you are firewalled. 2) not needed as a TCP connection can be made! git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4495 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b903217317
commit
1ee26e3ef2
@ -125,9 +125,13 @@ p3BitDht::p3BitDht(std::string id, pqiConnectCb *cb, p3NetMgr *nm,
|
||||
mUdpBitDht->addCallback(bdcb);
|
||||
|
||||
/* enable all modes */
|
||||
/* Switched to only Proxy Mode - as Direct Connections can be unreliable - as they share the UDP with the DHT....
|
||||
* We'll get these working properly and then if necessary get Direct further tested.
|
||||
*/
|
||||
mUdpBitDht->ConnectionOptions(
|
||||
// BITDHT_CONNECT_MODE_DIRECT | BITDHT_CONNECT_MODE_PROXY | BITDHT_CONNECT_MODE_RELAY,
|
||||
BITDHT_CONNECT_MODE_DIRECT | BITDHT_CONNECT_MODE_PROXY,
|
||||
//BITDHT_CONNECT_MODE_DIRECT | BITDHT_CONNECT_MODE_PROXY,
|
||||
BITDHT_CONNECT_MODE_PROXY,
|
||||
BITDHT_CONNECT_OPTION_AUTOPROXY);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user