netty5/codec-http/src
Sergey Polovko 2e6544fc0e Handle only those http requests that equal to adjusted websocket path
Motivation:

It will be easier to support websockets in server application by using WebSocketServerProtocolHandshakeHandler class and not reinvent its functionality. But currently it handles all http requests as if they were websocket handshake requests.

Modifications:

Check if http request path is equals to adjusted websocket path.
Fixed example of websocket server implementation.

Result:

WebSocketServerProtocolHandshakeHandler handles only websocket handshake requests.
2016-03-04 09:52:14 +01:00
..
main/java/io/netty/handler/codec Handle only those http requests that equal to adjusted websocket path 2016-03-04 09:52:14 +01:00
test [#4533] Ensure replacement of decoder is delayed after finishHandshake() is called 2016-02-04 14:00:25 +01:00