fix
Change-Id: If4ec29173560a67462fec50e40de1a48e595e3b6
This commit is contained in:
@@ -37,10 +37,10 @@ class WPClient {
|
||||
XmlRpcClientConfigImpl c = new XmlRpcClientConfigImpl();
|
||||
c.setServerURL(new URL(xmlRpcUrl));
|
||||
if (connectTimeout > 0) {
|
||||
c.setConnectionTimeout(config.getConnectTimeout());
|
||||
c.setConnectionTimeout(connectTimeout);
|
||||
}
|
||||
if (readTimeout > 0) {
|
||||
c.setReplyTimeout(config.getReadTimeout());
|
||||
c.setReplyTimeout(readTimeout);
|
||||
}
|
||||
if (trustAll) {
|
||||
acceptAndCertificate();
|
||||
|
||||
Reference in New Issue
Block a user