mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-02 20:09:21 +00:00
Merge remote-tracking branch 'origin/master' into jetty-9.1
This commit is contained in:
commit
4d6fd407b5
@ -845,7 +845,7 @@ public class HttpOutput extends ServletOutputStream implements Runnable
|
||||
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…
x
Reference in New Issue
Block a user