Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dosgo committed Apr 27, 2016
1 parent aea4bf4 commit 31119f1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ void* proxy( )
int ret=0;
ssl_info *sslinfo1;
sockinfo *tempinfo ;
sockinfo *tempinfo1;
map<int, sockinfo*>::iterator it;
map<int, sockinfo*>::iterator it1;
map<int, sockinfo*>::iterator it3;
Expand Down Expand Up @@ -413,6 +414,16 @@ void* proxy( )
}
}

//本地连接
if ( tempinfo->istype == 2 )
{
if(socklist.count(tempinfo->tosock)>0)
{
tempinfo1 = socklist[tempinfo->tosock];
tempinfo1->isconnectlocal=2;
}
}

}
}
//继续遍历
Expand Down

0 comments on commit 31119f1

Please sign in to comment.