要回答我自己的问题:要释放连接(以及与请求关联的任何其他资源),必须关闭HttpEntity返回的InputStream:
InputStream is = entity.getContent();.... process the input stream ....is.close(); // releases all resources
来自文档

要回答我自己的问题:要释放连接(以及与请求关联的任何其他资源),必须关闭HttpEntity返回的InputStream:
InputStream is = entity.getContent();.... process the input stream ....is.close(); // releases all resources
来自文档