ptrd / kwik

A QUIC client, client library and server implementation in Java. Supports HTTP3 with "Flupke" add-on.
GNU General Public License v3.0
391 stars 57 forks source link

Is line 147 of the file 'StreamManager. java' incorrect? #51

Closed oren-git closed 1 month ago

oren-git commented 1 month ago

https://github.com/ptrd/kwik/blob/master/core/src/main/java/net/luminis/quic/stream/StreamManager.java

peerRole == Role.Client && !bidirectional may be peerRole == Role.Server && !bidirectional

ptrd commented 1 month ago

I think you are right. Let me check if there is a test for it.

ptrd commented 1 month ago

Added test case(s) and fix it. Nice catch. Thanks for reporting.