Re: Keep-alive timeout

2002-02-27 Thread Hannes Wallnöfer
Jim Redman wrote: > Dan, > > On 2002.02.27 11:10:10 -0700 Daniel Rall wrote: > >> Jim Redman <[EMAIL PROTECTED]> writes: >> >> > I have no idea - I don't use the XmlRpcClient directly, only the Lite >> > so I don't know the behavior of the XmlRpcClient in this case. >> >> public class XmlRpcClien

Re: Keep-alive timeout

2002-02-27 Thread Jim Redman
Dan, On 2002.02.27 11:10:10 -0700 Daniel Rall wrote: > Jim Redman <[EMAIL PROTECTED]> writes: > > > I have no idea - I don't use the XmlRpcClient directly, only the Lite > > so I don't know the behavior of the XmlRpcClient in this case. > > public class XmlRpcClientLite > extends XmlRpcClie

Re: Keep-alive timeout

2002-02-27 Thread Hannes Wallnöfer
Jim, I just committed a fix for the problem to CVS. The solution I used is slightly different from yours: Instead of the whole LiteWorker.execute() method, only the sending of the request and the parsing of the response headers are put into a try-retry wrapper. Otherwise, we'd retry to call t

Re: Keep-alive timeout

2002-02-27 Thread Daniel Rall
Jim Redman <[EMAIL PROTECTED]> writes: > I have no idea - I don't use the XmlRpcClient directly, only the Lite > so I don't know the behavior of the XmlRpcClient in this case. public class XmlRpcClientLite extends XmlRpcClient

Re: Keep-alive timeout

2002-02-27 Thread Jim Redman
On 2002.02.27 08:43:34 -0700 Hannes Wallnöfer wrote: > Thanks Jim. One problem I see with your solution is that it retries on > *every* exception, which is not what we want (or do we?). I'll give it a > try. I'm not sure that there is sufficient information at this point to determine whether

Re: Keep-alive timeout

2002-02-27 Thread Hannes Wallnöfer
Thanks Jim. One problem I see with your solution is that it retries on *every* exception, which is not what we want (or do we?). I'll give it a try. Hannes Jim Redman wrote: > > The code in the exception clause of: > > public void write (byte[] request) throws IOException > > in XmlR

Re: Keep-alive timeout

2002-02-27 Thread Daniel Rall
Jim Redman <[EMAIL PROTECTED]> writes: > The code in the exception clause of: > > public void write (byte[] request) throws IOException > > in XmlRpcClientLite does not seem to be effective in handling > keep-alive timeouts. The solution that works for me is to repeat the > call to: > >