mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
dcsctp: Only send packets if there is a TCB
This was a mistake from change 273800 in that it could try to send packets if there wasn't a connection established - when tcb_ was nullptr. Bug: chromium:1360268 Change-Id: Idd4406071dbd8ac89303aef61840895505417569 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/274405 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Victor Boivie <boivie@webrtc.org> Auto-Submit: Victor Boivie <boivie@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38031}
This commit is contained in:
parent
7fc45e1701
commit
871ad523fa
1 changed files with 4 additions and 3 deletions
|
@ -1549,10 +1549,11 @@ void DcSctpSocket::HandleReconfig(
|
|||
// (either successfully or with failure). If there still are pending streams
|
||||
// that were waiting for this request to finish, continue resetting them.
|
||||
MaybeSendResetStreamsRequest();
|
||||
|
||||
// If a response was processed, pending to-be-reset streams may now have
|
||||
// become unpaused. Try to send more DATA chunks.
|
||||
tcb_->SendBufferedPackets(now);
|
||||
}
|
||||
// If a response was processed, pending to-be-reset streams may now have
|
||||
// become unpaused. Try to send more DATA chunks.
|
||||
tcb_->SendBufferedPackets(now);
|
||||
}
|
||||
|
||||
void DcSctpSocket::HandleShutdown(
|
||||
|
|
Loading…
Reference in a new issue