Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.1
-
None
-
Moderate
Description
This method has apparently been replaced with
HTTPConduit.setReceiverTimeout(Long).
HTTPConduit.setConnectionTimeout(Long)
I can't remember how the old way was meant to work (private void ClientImpl.waitForResponse(...)) but this seems to be deprecated atm.
Other thing:
HTTPConduit.setReceiverTimeout(Long)
HTTPConduit.setConnectionTimeout(Long)
are casted as int in the conduit :
connection.setConnectTimeout((int)clientSidePolicy.getConnectionTimeout());
connection.setReadTimeout((int)clientSidePolicy.getReceiveTimeout());
This conversion is very dangerous e.g Long.MAX_VALUE is converted into a negative integer!