netty5/codec-http/src/main
ursa f48d9fa8d0 Bugfix #9673: Origin header is always sent from WebSocket client (#9692)
Those who need 'Origin' or 'Sec-WebSocket-Origin' headers should provide them explicitly, like it is stated in WebSocket specs.

E.g. through custom headers:

    HttpHeaders customHeaders = new DefaultHttpHeaders()
        .add(HttpHeaderNames.ORIGIN, "http://localhost:8080");
    new WebSocketClientProtocolHandler(
        new URI("ws://localhost:1234/test"), WebSocketVersion.V13, subprotocol,
        allowExtensions, customHeaders, maxFramePayloadLength, handshakeTimeoutMillis)

* Remove enforced origin headers.
* Update tests

Fixes #9673: Origin header is always sent from WebSocket client
2019-11-27 08:40:57 +01:00
..
java/io/netty/handler/codec Bugfix #9673: Origin header is always sent from WebSocket client (#9692) 2019-11-27 08:40:57 +01:00
resources/META-INF/native-image/io.netty/codec-http Adds DeflateDecoder to native-image.properties of codec-http (#9708) 2019-10-25 20:15:54 +02:00