netty5/codec-http/src
Hyangtack Lee 24254b159f Propagate h2c upgrade success event to the next handler before removing source codec
Motivation:

When upgrading h2c, I found that sometimes both of http2 settings frame and http response message was arrived before receiving upgrade success event. It was because ByteToMessageDecoder propagated its internally buffered message to the next handler when removing itself from pipeline.(refer to ByteToMessageDecoder#handlerRemoved)
I think it's better to propagate upgrade success event when handling 101 switching protocol response.

Modifications:

Upgrade success event will be propagated before removing source codec.

Result:

It guarantees that upgrade success event will be arrived first at the next handler.
2016-04-07 17:41:46 +02:00
..
main/java/io/netty/handler/codec Propagate h2c upgrade success event to the next handler before removing source codec 2016-04-07 17:41:46 +02:00
test [#5059] Deprecate method with typo and introduce a new one without typo 2016-04-05 15:06:46 +02:00