Sure. I'll be happy to provide a patch. I'll get back to you.
----- Original Message ----- From: Jochen Wiedmann <jochen.wiedm...@gmail.com> Sent: Tue, 2009/9/8 15:51 To: xmlrpc-dev@ws.apache.org Subject: Re: XmlRpcSunHttpTransport and read timeout You're the first one to point this out. Compatibility to 1.4 is not a problem, because we already have JDK specific variants of the transports. Wanna provide a patch? On Tue, Sep 8, 2009 at 3:39 PM, Lars Gramark<l...@stickybit.se> wrote: > The reply timeout set in the XmlRpcHttpClientConfig is ignored when making > synchronous calls from the client. > This may cause calls to hang forever if there is no response. > > Digging into the code, I noticed that the read timeout provided by the > XmlRpcHttpClientConfig > is ignored when creating a URLConnection from the > XmlRpcSunHttpTransport. The method URLConnection.setReadTimeout, made > available in Java 1.5, could be used to solve this. > Is this a bug or is it a deliberate choice you've made to keep Java 1.4 > compatibility? > > Thanks > Lars Gråmark > > -- Germanys national anthem is the most boring in the world - how telling!