netty5/codec/src
Trustin Lee cde7157c39 Make JsonObjectDecoder discard everything after stream corruption
Motivation:

There's no way to recover from a corrupted JSON stream. The current
implementation will raise an infinite exception storm when a peer sends
a large corrupted stream.

Modification:

Discard everything once stream corruption is detected.

Result:

Fixes a buffer leak
Fixes exception storm
2014-07-04 11:16:00 +09:00
..
main/java/io/netty/handler/codec Make JsonObjectDecoder discard everything after stream corruption 2014-07-04 11:16:00 +09:00
test Fix a buffer leak in JsonObjectDecoderTest 2014-07-03 19:58:06 +09:00