AbstractEncoderEngine.download() never finishes downloading a file

Steps to reproduce

This code will never finish:

byte[] bytes = new byte[2048];
int offset = 0;
int len = 0;
while (is.read(bytes, offset, len) >= 0) {
fos.write(bytes, offset, len);
}

Status

Assignee

Lukas Rohner

Reporter

Christopher Brooks

Severity

Non Functioning

Tags (folksonomy)

Components

Fix versions

Affects versions

Priority

Blocker
Configure