From 2925229188c76d014b42a7588a01ff23dd08b3bd Mon Sep 17 00:00:00 2001 From: Paul Barrett Date: Thu, 30 Apr 2009 15:36:09 +0200 Subject: [PATCH] KTS-4201. Added a timeout of 120 seconds to the text extraction socket read/write --- bin/luceneserver/ktlucene.jar | Bin 22845 -> 0 bytes search2/indexing/lib/XmlRpcLucene.inc.php | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/luceneserver/ktlucene.jar b/bin/luceneserver/ktlucene.jar index 02c5ef8..2831e2f 100644 Binary files a/bin/luceneserver/ktlucene.jar and b/bin/luceneserver/ktlucene.jar differ diff --git a/search2/indexing/lib/XmlRpcLucene.inc.php b/search2/indexing/lib/XmlRpcLucene.inc.php index 016e6f0..c4f2fb2 100755 --- a/search2/indexing/lib/XmlRpcLucene.inc.php +++ b/search2/indexing/lib/XmlRpcLucene.inc.php @@ -249,7 +249,7 @@ class XmlRpcLucene php_xmlrpc_encode((string) $this->authToken), php_xmlrpc_encode((string) $query))); - $result=&$this->client->send($function); + $result=&$this->client->send($function, 60); if($result->faultCode()) { $this->error($result, 'query'); @@ -295,7 +295,7 @@ class XmlRpcLucene array( new xmlrpcval($content, 'base64')) ); - $result =& $this->client->send($function); + $result =& $this->client->send($function, 120); unset($content); @@ -390,7 +390,7 @@ class XmlRpcLucene php_xmlrpc_encode((string)$toExtension) )); - $result=&$this->client->send($function); + $result=&$this->client->send($function, 120); unset($content); -- libgit2 0.21.4