gst-plugins-rs/net/quinn
Sebastian Dröge 00aaecad07 quinn: Fix race condition when unlocking
It would be possible that there is no cancellable yet when unlock() is
called, then a new future is executed and it wouldn't have any
information that it is not supposed to run at all.

To solve this remember if unlock() was called and reset this in
unlock_stop().

Also actually implement unlock() / unlock_stop() for the sink, and don't
cancel in stop() as unlock() / unlock_stop() would've been called before
that already.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1602>
2024-06-10 07:38:29 +00:00
..
src quinn: Fix race condition when unlocking 2024-06-10 07:38:29 +00:00
tests net/quinn: Make QUIC role configurable 2024-05-31 23:20:38 +02:00
build.rs Move net/quic to net/quinn 2024-05-01 22:30:23 +05:30
Cargo.toml net/quinn: Port to quinn 0.11 and rustls 0.23 2024-05-09 13:49:33 +02:00