Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-2575 Storing total number of bytes read after every chunk

Omkar20895b541de8ff20b
diff --git a/src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/HttpResponse.java b/src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/HttpResponse.java
index c87c11125..591b94298 100644
--- a/src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/HttpResponse.java
+++ b/src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/HttpResponse.java
@@ -464,6 +464,7 @@ public class HttpResponse implements Response {
chunkBytesRead += len;
}
+ contentBytesRead += chunkBytesRead;
readLine(in, line, false);
}