You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PollStream/PollDataChannel: flush before shutting down (#340)
* PollStream/PollDataChannel: flush before shutting down
"Invocation of a shutdown implies an invocation of flush. Once this
method returns Ready it implies that a flush successfully happened
before the shutdown happened. That is, callers don’t need to call flush
before calling shutdown. They can rely that by calling shutdown any
pending buffered data will be written out."
https://docs.rs/tokio/1.21.2/tokio/io/trait.AsyncWrite.html#tymethod.poll_shutdown
* format code
* fix clippy warning
* fix another clippy warning
* add changelog entries
Copy file name to clipboardExpand all lines: sctp/CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
## Unreleased
4
4
5
5
* Increased minimum support rust version to `1.60.0`.
6
+
*`PollStream::poll_shutdown`: make sure to flush any writes before shutting down [#340](https://github.com/webrtc-rs/webrtc/pull/340)
6
7
7
8
## v0.6.1
8
9
@@ -12,4 +13,3 @@
12
13
## Prior to 0.6.1
13
14
14
15
Before 0.6.1 there was no changelog, previous changes are sometimes, but not always, available in the [GitHub Releases](https://github.com/webrtc-rs/sctp/releases).
0 commit comments