Re: How to debug a hang during POST

2016-05-25 Thread Oleg Kalnichevski
On Tue, 2016-05-24 at 17:24 +0100, Tim Dudgeon wrote: > Hi, I'm having problems with a POST operation that's being done along > these lines: > > HttpPost post = new HtttpPost("http://.;); > post.addHeader("name", "value"); // etc > post.setEntity( ... ); > CloseableHttpResponse resp =

How to debug a hang during POST

2016-05-24 Thread Tim Dudgeon
Hi, I'm having problems with a POST operation that's being done along these lines: HttpPost post = new HtttpPost("http://.;); post.addHeader("name", "value"); // etc post.setEntity( ... ); CloseableHttpResponse resp = httpClient.execute(post); ... First time the operation works fine. But a