netty5/codec-http/src
Trustin Lee 8e1007d693 Fix a bug where SpdySession.getActiveStreams() returns incorrect set
Related issue: #2743

Motivation:

When there are more than one stream with the same priority, the set
returned by SpdySession.getActiveStream() will not include all of them,
because it uses TreeSet and only compares the priority of streams. If
two different streams have the same priority, one of them will be
discarded by TreeSet.

Modification:

- Rename getActiveStreams() to activeStreams()
- Replace PriorityComparator with StreamComparator

Result:

Two different streams with the same priority are compared correctly.
2014-08-05 17:46:06 -07:00
..
main/java/io/netty/handler/codec Fix a bug where SpdySession.getActiveStreams() returns incorrect set 2014-08-05 17:46:06 -07:00
test Add test cases for HttpContentCompressor 2014-08-05 15:48:43 -07:00