jetty-9 fixed null value handling

This commit is contained in:
Greg Wilkins 2013-01-14 18:12:14 +11:00
parent 3a52ceca50
commit bc36eff330
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ public class HttpParser
add_to_connection_trie=_field==null;
}
if (add_to_connection_trie && !_connectionFields.isFull())
if (add_to_connection_trie && !_connectionFields.isFull() && _header!=null && _valueString!=null)
{
_field=new HttpField.CachedHttpField(_header,_valueString);
_connectionFields.put(_field);