netty5/codec-http
Stephane Landelle ccd01934f5
Merge WebSocket extensions, close #10792 (#10956)
Motivation:

We currently append extensions to the user defined "sec-websocket-extensions" headers. This can cause duplicated entries.

Modifications:

* Replace existing `WebSocketExtensionUtil#appendExtension` private helper with a new `computeMergeExtensionsHeaderValue`. User defined parameters have higher precedence.
* Add tests (existing method wasn't tested)
* Reuse code for both client and server side (code was duplicated).

Result:

No more duplicated entries when user defined extensions overlap with the ones Netty generated.
2021-01-22 08:15:56 +01:00
..
src Merge WebSocket extensions, close #10792 (#10956) 2021-01-22 08:15:56 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2021-01-13 10:28:54 +00:00