隧道代理增加日志
This commit is contained in:
parent
54e94879b2
commit
12c6fd6d89
|
@ -1057,8 +1057,10 @@ public class MeituanServiceImpl implements IMeituanService {
|
|||
|
||||
// private CloseableHttpClient proxyHttpClient() {
|
||||
private CloseableHttpClient proxyHttpClient(String ipPort) {
|
||||
log.error("==============隧道代理返回结果==========:"+ipPort);
|
||||
String proxyHost = ipPort.split(":")[0];
|
||||
int proxyPort = Integer.valueOf(ipPort.split(":")[1]);
|
||||
log.error("==============隧道代理返回结果解析地址,端口==========:"+proxyHost+","+proxyPort);
|
||||
String username = proxyProperties.getAccount();
|
||||
String password = proxyProperties.getPwd();
|
||||
HttpHost proxy = new HttpHost(proxyHost, proxyPort);
|
||||
|
|
Loading…
Reference in New Issue