362468 NPE at line org.eclipse.jetty.io.BufferUtil.putHexInt

This commit is contained in:
Jan Bartel 2011-11-10 21:45:07 +11:00
parent cb778530a4
commit ac7caeadf9
1 changed files with 4 additions and 1 deletions

View File

@ -986,7 +986,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");