mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
add debug code for tunnel test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1932 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e708cf4257
commit
79138790dd
@ -725,6 +725,16 @@ int pqissl::Basic_Connection_Complete()
|
|||||||
rslog(RSL_DEBUG_BASIC, pqisslzone,
|
rslog(RSL_DEBUG_BASIC, pqisslzone,
|
||||||
"pqissl::Basic_Connection_Complete()...");
|
"pqissl::Basic_Connection_Complete()...");
|
||||||
|
|
||||||
|
#ifdef DEBUG_PQISSL_TUNNEL
|
||||||
|
rslog(RSL_DEBUG_BASIC, pqisslzone,
|
||||||
|
"pqissl::Basic_Connection_Complete() parent()->PeerId() : " + parent()->PeerId());
|
||||||
|
if (parent()->PeerId() == "83515db66b37e7a916535aa16a498c00" || parent()->PeerId() == "eedd76e9ebf775a707f5fb90bd651e00") {
|
||||||
|
rslog(RSL_DEBUG_BASIC, pqisslzone,
|
||||||
|
"pqissl::Basic_Connection_Complete() resetting connection for test purpose.");
|
||||||
|
reset();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* new TimeOut code. */
|
/* new TimeOut code. */
|
||||||
if (time(NULL) > mTimeoutTS)
|
if (time(NULL) > mTimeoutTS)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user