netty5/codec-http/src/main
秦世成 5ffac03f1e Support handshake timeout in websocket handlers (#8856)
Motivation:

Support handshake timeout option in websocket handlers. It makes sense to limit the time we need to move from `HANDSHAKE_ISSUED` to `HANDSHAKE_COMPLETE` states when upgrading to WebSockets

Modification:

- Add `handshakeTimeoutMillis` option in `WebSocketClientProtocolHandshakeHandler`  and `WebSocketServerProtocolHandshakeHandler`.
- Schedule a timeout task, the task will trigger user event `HANDSHAKE_TIMEOUT` if the handshake timed out.

Result:

Fixes issue https://github.com/netty/netty/issues/8841
2019-05-22 12:37:28 +02:00
..
java/io/netty/handler/codec Support handshake timeout in websocket handlers (#8856) 2019-05-22 12:37:28 +02:00
resources/META-INF/native-image/io.netty/codec-http Add SVM metadata and minimal substitutions to build graalvm native image applications. (#8963) 2019-04-29 08:39:42 +02:00