ystem.out.println("Do some other stuff");
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
response.close();
} catch (IOException e) {
e.printStackTrace();
}
}
Yes. I know it is leaking connections…. But it can stop the program in the end.
If I make the url the same, it can not stop….
> 在 2018年6月11日,下午11:16,Oleg Kalnichevski 写道:
>
> On Mon, 2018-06-11 at 23:13 +0800, zhangminglei wrote:
>> Hi, Oleg.
>>
>> I found the int
httpclient.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}
> 在 2018年6月11日,下午10:27,Oleg Kalnichevski 写道:
>
> On Mon, 2018-06-11 at 21:12 +0800, zhangminglei wrote:
>> Hi, Oleg,
>>
>> Thank you for your response, But my question is
Hi, Oleg,
Thank you for your response, But my question is why this program never stopped
? And always running…
Minglei.
> 在 2018年6月11日,下午8:27,Oleg Kalnichevski 写道:
>
> On Fri, 2018-06-08 at 15:30 +0800, zhangminglei wrote:
>> Hi, friends.
>>
>> I am using HttpCl
Hi, friends.
I am using HttpClient for a few tests. And I use the below code to run without
success. But the process never stoped.
I use jstack for this and found it always wait for something. Could you help me
please ? Thanks.
parking to wait for <0x00076c1d0980> (a