netty5/codec-http/src/main
Gerd Riesselmann ae313513dd Avoid possible comparison contract violation (#9883)
Motivation:

The current implementation causes IllegalArgumetExceptions to be thrown on Java 11.

The current implementation would violate comparison contract for two cookies C1 and C2 with same path length, since C1 < C2 and C2 < C1. Returning 0 (equality) does not since C1 == C2 and C2 == C1. See #9881

Modification:

Return equality instead of less than on same path length.

Result:

Fixes #9881.
2019-12-19 12:28:25 +01:00
..
java/io/netty/handler/codec Avoid possible comparison contract violation (#9883) 2019-12-19 12:28:25 +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