Merge remote-tracking branch 'origin/master' into jetty-7.6

This commit is contained in:
Greg Wilkins 2011-11-11 13:13:55 +11:00
commit af70c3f609
1 changed files with 4 additions and 1 deletions

View File

@ -1009,7 +1009,10 @@ public class HttpGenerator extends AbstractGenerator
}
else
{
// No space so lets use the header buffer.
// No space so lets use a header buffer.
if (_header == null)
_header = _buffers.getHeader();
if (_needCRLF)
{
if (_header.length() > 0) throw new IllegalStateException("EOC");