netty5/codec-http/src
Norman Maurer d5a8b65700 [#4754] Correctly detect websocket upgrade
Motivation:

If the Connection header contains multiple values (which is valid) we fail to detect a websocket upgrade

Modification:

- Add new method which allows to check if a header field contains a specific value (and also respect multiple header values)
- Use this method to detect handshake

Result:

Correct detect handshake if Connection header contains multiple values (seperated by ',').
2016-02-04 14:22:02 +01:00
..
main/java/io/netty/handler/codec [#4754] Correctly detect websocket upgrade 2016-02-04 14:22:02 +01:00
test [#4533] Ensure replacement of decoder is delayed after finishHandshake() is called 2016-02-04 14:00:25 +01:00