mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-26 15:46:31 +00:00
Fix for [HER-1681] FetchFTP module doesn't set content-begin mark correctly.
Bug reported and fix suggested by Tomas Ukkonen.
* FetchFTP.java
saveToRecorder(): call recorder.markContentBegin() after recorder.outputWrap()
This commit is contained in:
@@ -325,9 +325,9 @@ public class FetchFTP extends Processor {
|
||||
private void saveToRecorder(ProcessorURI curi,
|
||||
Socket socket, Recorder recorder)
|
||||
throws IOException, InterruptedException {
|
||||
recorder.markContentBegin();
|
||||
recorder.inputWrap(socket.getInputStream());
|
||||
recorder.outputWrap(socket.getOutputStream());
|
||||
recorder.markContentBegin();
|
||||
|
||||
// Read the remote file/dir listing in its entirety.
|
||||
long softMax = 0;
|
||||
|
||||
Reference in New Issue
Block a user