reverted inadvertant commit with #2585

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2018-05-29 17:31:56 +02:00
parent 436c00b0af
commit 953611fb72
1 changed files with 2 additions and 3 deletions

View File

@ -246,9 +246,8 @@ public class HpackDecoder
if (indexed) if (indexed)
{ {
// add to dynamic table // add to dynamic table
_context.add(field); if (_context.add(field)==null)
// if (_context.add(field)==null) throw new BadMessageException(HttpStatus.REQUEST_HEADER_FIELDS_TOO_LARGE_431,"Indexed field value too large");
// throw new BadMessageException(HttpStatus.REQUEST_HEADER_FIELDS_TOO_LARGE_431,"Indexed field value too large");
} }
} }