Fixed a bug with keepalive connections reported by Jim Redman <jim@ergotech.com> A timed out keepalive connection wasn't detected because the exception was thrown not when trying to send the request to the server but only when trying to parse the server's response. The fix consists in taking the retry code out of the HttpClient.write() method and move it up into LiteWorker.execute(). While doing this I also refactored the HttpClient.write() and HttpClient.getInputStream() methods into one single HttpClient.sendRequest()  method.
Fixed a bug with keepalive connections reported by Jim Redman <jim@ergotech.com>
A timed out keepalive connection wasn't detected because the exception was thrown
not when trying to send the request to the server but only when trying to parse
the server's response. The fix consists in taking the retry code out of the HttpClient.write()
method and move it up into LiteWorker.execute(). While doing this I also refactored the
HttpClient.write() and HttpClient.getInputStream() methods into one single
HttpClient.sendRequest()  method.


atoulme/xmlrpc