Skip to content

fix(webrtc): support different ordering of protobuf flags#577

Open
gab8i wants to merge 1 commit into
gab_webrtc_multistream_messages_fixfrom
gab_webrtc_protobuf
Open

fix(webrtc): support different ordering of protobuf flags#577
gab8i wants to merge 1 commit into
gab_webrtc_multistream_messages_fixfrom
gab_webrtc_protobuf

Conversation

@gab8i
Copy link
Copy Markdown
Contributor

@gab8i gab8i commented May 13, 2026

No description provided.

let mut state = self.state.lock();

// Shutdown process has alredy started or it already reached
// conclusion. Sending already stopped.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

// already sent FIN and are waiting for FIN_ACK. This shouldn't happen
// with correct AsyncWrite usage (&mut self), but provides defense in depth.
//
// State::SendClosed: peer sent STOP_SENDING (no longer accepting our
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Could we add a few more tests for the fixes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants