Mercurial Hosting > luan
comparison src/org/eclipse/jetty/http/HttpParser.java @ 1001:39154cfa58e4
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 22 Oct 2016 20:56:41 -0600 |
parents | bd26bd9320e2 |
children | 35d04ac3fd0b |
comparison
equal
deleted
inserted
replaced
1000:32d4b569567c | 1001:39154cfa58e4 |
---|---|
146 * @see #parse | 146 * @see #parse |
147 * @see #parseNext | 147 * @see #parseNext |
148 */ | 148 */ |
149 public boolean parseAvailable() throws IOException | 149 public boolean parseAvailable() throws IOException |
150 { | 150 { |
151 boolean progress=parseNext()>0; | 151 boolean progress = parseNext() > 0; |
152 | 152 |
153 // continue parsing | 153 // continue parsing |
154 while (!isComplete() && _buffer!=null && _buffer.length()>0 && !_contentView.hasContent()) | 154 while (!isComplete() && _buffer!=null && _buffer.length()>0 && !_contentView.hasContent()) |
155 { | 155 { |
156 progress |= parseNext()>0; | 156 progress |= parseNext()>0; |