lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
Subject svn commit: r1587931 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/CHANGES.txt lucene/replicator/ lucene/replicator/src/java/org/apache/lucene/replicator/http/HttpClientBase.java
Date Wed, 16 Apr 2014 14:42:57 GMT
Author: shaie
Date: Wed Apr 16 14:42:56 2014
New Revision: 1587931

URL: http://svn.apache.org/r1587931
Log:
LUCENE-5599: HttpClientBase did not properly delegate to wrapped InputStream

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/CHANGES.txt
    lucene/dev/branches/branch_4x/lucene/replicator/   (props changed)
    lucene/dev/branches/branch_4x/lucene/replicator/src/java/org/apache/lucene/replicator/http/HttpClientBase.java

Modified: lucene/dev/branches/branch_4x/lucene/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/CHANGES.txt?rev=1587931&r1=1587930&r2=1587931&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/CHANGES.txt (original)
+++ lucene/dev/branches/branch_4x/lucene/CHANGES.txt Wed Apr 16 14:42:56 2014
@@ -15,6 +15,9 @@ Optimizations
 
 * LUCENE-5603: hunspell stemmer more efficiently strips prefixes
   and suffixes.  (Robert Muir)
+  
+* LUCENE-5599: HttpReplicator did not properly delegate bulk read() to wrapped
+  InputStream. (Christoph Kaser via Shai Erera)
 
 ======================= Lucene 4.8.0 =======================
 

Modified: lucene/dev/branches/branch_4x/lucene/replicator/src/java/org/apache/lucene/replicator/http/HttpClientBase.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/replicator/src/java/org/apache/lucene/replicator/http/HttpClientBase.java?rev=1587931&r1=1587930&r2=1587931&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/replicator/src/java/org/apache/lucene/replicator/http/HttpClientBase.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/replicator/src/java/org/apache/lucene/replicator/http/HttpClientBase.java
Wed Apr 16 14:42:56 2014
@@ -221,13 +221,13 @@ public abstract class HttpClientBase imp
       }
       @Override
       public int read(byte[] b) throws IOException {
-        final int res = super.read(b);
+        final int res = in.read(b);
         consume(res);
         return res;
       }
       @Override
       public int read(byte[] b, int off, int len) throws IOException {
-        final int res = super.read(b, off, len);
+        final int res = in.read(b, off, len);
         consume(res);
         return res;
       }



Mime
View raw message