171172173174175176177178179180181
} if( state == STATE_READING_CHUNKS ){ HttpChunk ch = readChunk(); if( ch == null ) return null; resNum++; return ch;
277278279280281282283284285286287
if( chunk.limit() == 0 ){ resNum++; state = STATE_READING_HEADER; } return new HttpChunk( line, chunk ); } else { throw new ProtocolException( this + ": Error, expected blank-line after chunk, found: " + l ); } }