netty5/codec-http/src
Riyafa Abdul Hameed d5aba6d342 Close connection for CorruptedFrameException (#8705)
Motivation:

The CorruptedFrameException from the finish() method of the Utf8Validator gets propagated to other handlers while the connection is still open.

Modification:

Override exceptionCaught method of the Utf8FrameValidator and close the connection if it is a CorruptedFrameException.

Result:

The CorruptedFrameException gets propagated to other handlers only after properly closing the connection.
2019-01-17 07:19:21 +01:00
..
main/java/io/netty/handler/codec Close connection for CorruptedFrameException (#8705) 2019-01-17 07:19:21 +01:00
test Close connection for CorruptedFrameException (#8705) 2019-01-17 07:19:21 +01:00