Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0
-
None
-
None
Description
XmlRpcCommonsTransport.initHttpHeaders tries to set replyTimeout to soTimeout like this:
if (config.getReplyTimeout() != 0)
client.getHttpConnectionManager().getParams().setSoTimeout(config.getConnectionTimeout());
Shouldn't the second line be config.getReplyTimeout() instead of config.getConnectionTimeout()? I have not tested this in any way, but I just saw this line when reading the code and the bug seems obvious.