-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
The current logic for determining whether a stream is incoming or not seems incorrect to me.
Specifically, the logic:
webtransport/main/lib/http2/parserbase.js
Line 118 in 3475169
| const incoming = this.isclient ? !(streamid & 0x1n) : !!(streamid & 0x1n) |
For example, when streamid = 4n:
- This is a client-initiated bidirectional stream.
- If this.isclient === false (i.e., we are the server), this stream should be incoming.
- However, this code returns false.
As I understand it, stream ID 4 should be treated as an incoming stream on the server side.
Am I missing something?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels