netty5/codec-http/src
Norman Maurer f00160bca3
Don't reuse ChannelPromise in WebSocketProtocolHandler (#10248)
Motivation:

We cant reuse the ChannelPromise as it will cause an error when trying to ful-fill it multiple times.

Modifications:

- Use a new promise and chain it with the old one
- Add unit test

Result:

Fixes https://github.com/netty/netty/issues/10240
2020-05-07 08:11:33 +02:00
..
main Don't reuse ChannelPromise in WebSocketProtocolHandler (#10248) 2020-05-07 08:11:33 +02:00
test Don't reuse ChannelPromise in WebSocketProtocolHandler (#10248) 2020-05-07 08:11:33 +02:00