416102 - Clean up of async sendContent process
This commit is contained in:
parent
79fb4287bb
commit
4358302ce0
|
@ -491,7 +491,7 @@ public class HttpOutput extends ServletOutputStream
|
|||
int len=0;
|
||||
while (len<_buffer.capacity() && !_eof)
|
||||
{
|
||||
int r=_in.read(_buffer.array(),0,_buffer.capacity()-len);
|
||||
int r=_in.read(_buffer.array(),_buffer.arrayOffset()+len,_buffer.capacity()-len);
|
||||
if (r<0)
|
||||
_eof=true;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue