https://issues.apache.org/bugzilla/show_bug.cgi?id=56663
--- Comment #1 from Long Zou <long...@hotmail.com> --- public void onDataAvailable() throws IOException { byte[] buf = new byte[1024]; int len = 0; try{ while ( _input.isReady() && (len = _input.read(buf)) != -1) { _bufferStream.write(buf, 0, len); } }catch(Exception ex){ logger.debug(ex.getMessage()); } } The client send 1406 bytes. But I can not get all. If I changed the buf size to 2048, I can get all of 1406 bytes. But if I send more than 2048, I can not get all again. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org