Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 1ca2ce4

Browse files
committed
Close response body in read with UNSATISFIABLE_RANGE
1 parent 183aef5 commit 1ca2ce4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/cryptomator/cloudaccess/webdav/WebDavClient.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ private InputStream read(final Request.Builder getRequest, final ProgressListene
156156

157157
final int UNSATISFIABLE_RANGE = 416;
158158
if(response.code() == UNSATISFIABLE_RANGE) {
159-
success = true;
160159
return new ByteArrayInputStream(new byte[0]);
161160
}
162161

0 commit comments

Comments
 (0)