Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

always start sctp #170

Conversation

melekes
Copy link
Contributor

@melekes melekes commented Mar 21, 2022

Fixes a bug where if you set
disable_certificate_fingerprint_verification to true via
SettingEngine, even though DTLS handshake is completed, SCTP does not
start. As you can see, this was due to the code returning Ok(())
without changing the state and starting the sctp.

Fixes a bug where if you set
`disable_certificate_fingerprint_verification` to true via
`SettingEngine`, even though DTLS handshake is completed, SCTP does not
start. As you can see, this was due to the code returning `Ok(())`
without changing the state and starting the sctp.
@melekes
Copy link
Contributor Author

melekes commented Mar 21, 2022

Refs paritytech/smoldot#2135

@rainliu
Copy link
Member

rainliu commented Mar 21, 2022

Good catch!

@codecov
Copy link

codecov bot commented Mar 21, 2022

Codecov Report

Merging #170 (a04d8d4) into master (b614887) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #170   +/-   ##
=======================================
  Coverage   57.52%   57.52%           
=======================================
  Files          66       66           
  Lines        5784     5784           
  Branches     1799     1797    -2     
=======================================
  Hits         3327     3327           
  Misses        915      915           
  Partials     1542     1542           
Impacted Files Coverage Δ
src/dtls_transport/mod.rs 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b614887...a04d8d4. Read the comment docs.

@rainliu rainliu merged commit aa21255 into webrtc-rs:master Mar 21, 2022
@melekes melekes deleted the anton/start-sctp-when-fingerprint-verification-disabled branch March 22, 2022 06:25
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.

None yet

2 participants