netty5/handler-proxy/src
Norman Maurer 598b04f1d0 Ensure WebSocket*Handshaker can not corrupt pipeline when HttpProxyHa… (#10103)
Motivation:

HttpProxyHandler itself will add a HttpClientCodec into the ChannelPipeline and so confuse the WebSocket*Handshaker when it tries to modify the pipeline as it will replace the wrong HttpClientCodec.

Modifications:

Wrap the internal HttpClientCodec that is added by HttpProxyHandler so it will not be replaced by HttpProxyHandler.

Result:

Fixes  https://github.com/netty/netty/issues/5201 and https://github.com/netty/netty/issues/5070
2020-03-16 11:45:25 +01:00
..
main/java/io/netty/handler/proxy Ensure WebSocket*Handshaker can not corrupt pipeline when HttpProxyHa… (#10103) 2020-03-16 11:45:25 +01:00
test/java/io/netty/handler/proxy Ensure WebSocket*Handshaker can not corrupt pipeline when HttpProxyHa… (#10103) 2020-03-16 11:45:25 +01:00