Skip to content

Commit

Permalink
status save
Browse files Browse the repository at this point in the history
  • Loading branch information
KagayamaKaede committed Nov 12, 2015
1 parent 90e324d commit 9cebe9d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/src/main/java/com/proxy/shadowsocksr/impl/SSRLocal.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ private void handleData() throws Exception
// TODO need optimize cidr check speed.
if (AddressUtils.checkInCIDRRange(AddressUtils.ipv4BytesToInt(ip), aclList))
{
Log.e("EXC", "IN");
attach.isDirect = true;
if (!prepareRemote(attach, AddressUtils.ipv4BytesToIp(ip), port))
{
Expand All @@ -155,7 +154,6 @@ private void handleData() throws Exception
}
else
{
Log.e("EXC", "NOT IN");
if (!prepareRemote(attach, rmtIP, rmtPort))
{
return;
Expand Down Expand Up @@ -241,15 +239,12 @@ else if (atype == (byte) 0x04)
cleanSession(attach);
return;
}
Log.e("EXC", "AUTH OK");

if (!processCMD(attach))
{
Log.e("EXC", "CMD FAILED");
cleanSession(attach);
return;
}
Log.e("EXC", "CMD OK");
handleData();
}
catch (Exception ignored)
Expand Down

0 comments on commit 9cebe9d

Please sign in to comment.