Http
alexyangbjb
顶顶顶顶顶顶顶顶顶顶顶顶
展开
-
HttpClient容易忽视的细节——连接关闭,使用不当服务器会出现大量的Close_Wait现象
Java代码 HttpClient client = new HttpClient(); HttpMethod method = new GetMethod("http://www.apache.org"); try { client.executeMethod(method); byte[] responseBody = null;转载 2015-10-13 10:07:06 · 4141 阅读 · 0 评论 -
Close_Wait现象产生的原因
详见http://blog.csdn.net/shootyou/article/details/6622226转载 2015-10-13 10:36:43 · 435 阅读 · 0 评论