Skip to content

webrtc: handle optimistic peer during multistream-select handshake #583

Description

@gab8i

As explained here (#573 (comment)), the current multistream-select handshake doesn't handle the case where the peer is optimistic and also sends the first channel message right after the protocol reply.

Currently there is just a warning, and the trailing bytes after the multistream-select messages are discarded. They should instead be propagated back and handled within the state machine as an incoming message for the next phase after the handshake.

Metadata

Metadata

Assignees

Labels

priority: lowNice-to-have improvements, optimizations, or future considerations

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions