Skip to content

Commit

Permalink
[FIXED JENKINS-19473] Trying to work around jzlib bug.
Browse files Browse the repository at this point in the history
(cherry picked from commit b02d457)

Conflicts:
	changelog.html
  • Loading branch information
jglick authored and olivergondza committed Sep 30, 2013
1 parent 33ad058 commit 2f77f95
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/main/java/hudson/FilePath.java
Expand Up @@ -628,7 +628,12 @@ public InputStream extract(InputStream _in) throws IOException {
}
}
public OutputStream compress(OutputStream out) throws IOException {
return new GZIPOutputStream(new BufferedOutputStream(out));
return new GZIPOutputStream(new BufferedOutputStream(out),
// TODO JENKINS-19473 workaround; replace when jzlib fixed
new com.jcraft.jzlib.Deflater(6, 15+16, 9), // use 9 for memLevel
512,
true
);
}
};

Expand Down

0 comments on commit 2f77f95

Please sign in to comment.