mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04:00
* Added hack to remove DODGEY peers. (This should probably be moved to libbitdht).
* NOTE about how to correctly implement Peer filtering. * added peerConnectRequest() when PeerCallback(success) happens... starts UDP connection. * Split the p3conmgr::tryConnect() functions into sub functions. * added p3ConnMgr functions for UDP connections. * Added AddifUnique(conect_address), to ConnMgr, this should reduce the number of connection attempts, by removing dups. * Disabled bitdht in libretroshare.pro for the moment. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3605 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
20a49a59cf
commit
0ea899de29
5 changed files with 277 additions and 46 deletions
|
@ -1,7 +1,7 @@
|
|||
TEMPLATE = lib
|
||||
#CONFIG += staticlib release
|
||||
#CONFIG += staticlib testnetwork
|
||||
CONFIG += staticlib testnetwork bitdht
|
||||
CONFIG += staticlib testnetwork
|
||||
#CONFIG += staticlib testnetwork bitdht
|
||||
CONFIG -= qt
|
||||
TARGET = retroshare
|
||||
|
||||
|
@ -28,7 +28,7 @@ release {
|
|||
|
||||
|
||||
testnetwork {
|
||||
# DEFINES *= PQI_DISABLE_UDP
|
||||
DEFINES *= PQI_DISABLE_UDP
|
||||
DEFINES *= PQI_DISABLE_TUNNEL
|
||||
|
||||
# DEFINES *= AUTHSSL_DEBUG GPG_DEBUG
|
||||
|
@ -67,6 +67,7 @@ bitdht {
|
|||
HEADERS += dht/p3bitdht.h
|
||||
SOURCES += dht/p3bitdht.cc
|
||||
|
||||
|
||||
HEADERS += tcponudp/udppeer.h \
|
||||
tcponudp/bio_tou.h \
|
||||
tcponudp/tcppacket.h \
|
||||
|
@ -499,6 +500,7 @@ SOURCES += services/p3channels.cc \
|
|||
|
||||
SOURCES += tcponudp/extaddrfinder.cc \
|
||||
|
||||
|
||||
SOURCES += turtle/p3turtle.cc \
|
||||
turtle/rsturtleitem.cc
|
||||
# turtle/turtlerouting.cc \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue