manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1677384 - in /manifoldcf/integration/elasticsearch/trunk: CHANGES.txt src/main/assembly/bin.xml src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizer.java
Date Sun, 03 May 2015 10:44:11 GMT
Author: kwright
Date: Sun May  3 10:44:11 2015
New Revision: 1677384

URL: http://svn.apache.org/r1677384
Log:
Fix for CONNECTORS-1194.

Modified:
    manifoldcf/integration/elasticsearch/trunk/CHANGES.txt
    manifoldcf/integration/elasticsearch/trunk/src/main/assembly/bin.xml
    manifoldcf/integration/elasticsearch/trunk/src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizer.java

Modified: manifoldcf/integration/elasticsearch/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/integration/elasticsearch/trunk/CHANGES.txt?rev=1677384&r1=1677383&r2=1677384&view=diff
==============================================================================
--- manifoldcf/integration/elasticsearch/trunk/CHANGES.txt (original)
+++ manifoldcf/integration/elasticsearch/trunk/CHANGES.txt Sun May  3 10:44:11 2015
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 2.1-SNAPSHOT =====================
 
+CONNECTORS-1194: Stale connection checks enabled.
+(Karl Wright)
+
 CONNECTORS-934 : Check if log level is enabled before constructing log message.
 (Ahmet Arslan)
 

Modified: manifoldcf/integration/elasticsearch/trunk/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/manifoldcf/integration/elasticsearch/trunk/src/main/assembly/bin.xml?rev=1677384&r1=1677383&r2=1677384&view=diff
==============================================================================
--- manifoldcf/integration/elasticsearch/trunk/src/main/assembly/bin.xml (original)
+++ manifoldcf/integration/elasticsearch/trunk/src/main/assembly/bin.xml Sun May  3 10:44:11
2015
@@ -1,8 +1,4 @@
 <!--
-   $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/src/main/assembly/bin-unix.xml
$
-   $Revision: 687166 $
-   $Date: 2008-08-19 23:40:27 +0200 (Tue, 19 Aug 2008) $
-
    ====================================================================
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file

Modified: manifoldcf/integration/elasticsearch/trunk/src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizer.java
URL: http://svn.apache.org/viewvc/manifoldcf/integration/elasticsearch/trunk/src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizer.java?rev=1677384&r1=1677383&r2=1677384&view=diff
==============================================================================
--- manifoldcf/integration/elasticsearch/trunk/src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizer.java
(original)
+++ manifoldcf/integration/elasticsearch/trunk/src/main/java/org/apache/manifoldcf/elasticsearch/MCFAuthorizer.java
Sun May  3 10:44:11 2015
@@ -93,7 +93,7 @@ public class MCFAuthorizer
       
       BasicHttpParams params = new BasicHttpParams();
       params.setBooleanParameter(CoreConnectionPNames.TCP_NODELAY,true);
-      params.setBooleanParameter(CoreConnectionPNames.STALE_CONNECTION_CHECK,false);
+      params.setBooleanParameter(CoreConnectionPNames.STALE_CONNECTION_CHECK,true);
       params.setIntParameter(CoreConnectionPNames.SO_TIMEOUT,socketTimeout);
       params.setIntParameter(CoreConnectionPNames.CONNECTION_TIMEOUT,connectionTimeout);
       DefaultHttpClient localClient = new DefaultHttpClient(connectionManager,params);



Mime
View raw message