Commit aebe26bc by 徐高华

test

parent b4a080fe
...@@ -294,7 +294,7 @@ public class HttpClient { ...@@ -294,7 +294,7 @@ public class HttpClient {
} }
private static void setIp(org.apache.http.client.HttpClient client , byte[] ip) { private static void setIp(org.apache.http.client.HttpClient client , byte[] ip) {
/* try { try {
if(null != ip) { if(null != ip) {
client.getParams().setParameter(ConnRouteParams.LOCAL_ADDRESS, InetAddress.getByAddress(ip)) ; client.getParams().setParameter(ConnRouteParams.LOCAL_ADDRESS, InetAddress.getByAddress(ip)) ;
}else { }else {
...@@ -302,7 +302,7 @@ public class HttpClient { ...@@ -302,7 +302,7 @@ public class HttpClient {
} }
} catch (UnknownHostException e2) { } catch (UnknownHostException e2) {
e2.printStackTrace(); e2.printStackTrace();
}*/ }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment