httpClient.execute之后一直等待

可能的原因就是之前执行过一次execute,但是没有释放资源。

hrp = httpClient.execute(req);

//这句释放资源
hrp.getEntity().consumeContent();
原文地址:https://www.cnblogs.com/leestar54/p/3335962.html