Re: How to debug a hang during POST

2016-05-25 Thread Tim Dudgeon
On 25/05/2016 13:54, Oleg Kalnichevski wrote: Tim, Please post wire / context log of the session. Oleg I found the issue eventually. It was due a leaking connection (InputStream not being closed). The problem was masked by no timeout being applied to getting a connection so it hung forever

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 = httpCl