diff --git a/quest/m1/README.md b/quest/m1/README.md index 1d59ed8ed48..fc761b64cb7 100644 --- a/quest/m1/README.md +++ b/quest/m1/README.md @@ -112,7 +112,6 @@ lite-07 stream type here. - [Rust resume holds a declared end](/quest/m1/resume-rust-end.md) - a resumed Rust track keeps a declared end across copies, dedupes flapping copies, and judges retention inside the reader's window - [Received timestamps are media time](/quest/m1/lite-time-provenance.md) - a received timed track's timestamps are media time, so the rewind check can run across hops - [WebGPU on Safari](/quest/m1/webgpu-safari.md) - the WebGPU renderer is verified on Safari 26 for macOS and iOS -- [Silent-peer close](/quest/m1/quic-silent-peer-drain.md) - moq-quic closes a connection that never heard its peer without the 3 s drain - [Binding linger](/quest/m1/linger-ffi.md) - `moq-ffi` and every binding finish a broadcast cleanly, so subscribers drain it until its media is stale - [Gateway linger](/quest/m1/linger-gateways.md) - HLS, RTMP, SRT and RTC imports linger at a clean end, cut short by a newer epoch at the same path - [Interop finish](/quest/m1/interop-finish.md) - the interop matrix proves a clean broadcast finish across implementations diff --git a/quest/m1/quic-silent-peer-drain.md b/quest/m1/quic-silent-peer-drain.md deleted file mode 100644 index 9aae84717ae..00000000000 --- a/quest/m1/quic-silent-peer-drain.md +++ /dev/null @@ -1,33 +0,0 @@ -# [S] A connection that never heard its peer closes at once - -## Goal - -moq-quic skips the close drain for a connection that never received a packet -from its peer, so closing a dial to an unreachable host returns at once -instead of waiting three PTOs (3 s at the default 333 ms initial RTT). -Stopping a `moqsink` whose relay is down stops promptly. - -## Plan - -Seen as moqsink's 3 s stop against an unreachable relay in -[moq-dev/moq#6152](https://github.com/moq-dev/moq/pull/6152), and as about ten -moq-gst tests paying 3 s each in -[moq-dev/moq#6174](https://github.com/moq-dev/moq/pull/6174). With no packet -from the peer, nothing on the other side needs the drain's CONNECTION_CLOSE -retransmits; a peer heard even once keeps the normal drain. - -Open decision, public API, settled in this quest's PR with options and a -recommendation: should the configured idle timeout also bound the handshake? -Today moq-quic's handshake idle timeout is a fixed 10 s that neither -`--quic-idle-timeout` nor moq-uring's `Transport` sets, so three moq-uring -endpoint tests wait it out (#6174). - -Regression tests: close a client whose dial never got an answer and assert -it returns without the drain, on a mocked clock. - -Wire: none. - -## Related - -- [Socket close](/quest/m2/quic-socket-close.md) - releasing the endpoint's socket on close -- [Keep-alive from the idle timeout](/quest/m2/quic-keep-alive.md) - the other timer derived from the idle timeout diff --git a/rs/moq-uring/src/quic/handshake.rs b/rs/moq-uring/src/quic/handshake.rs index 97d9646340d..6e0d0f61ec5 100644 --- a/rs/moq-uring/src/quic/handshake.rs +++ b/rs/moq-uring/src/quic/handshake.rs @@ -14,8 +14,13 @@ use moq_clock::Instant; #[non_exhaustive] pub struct Config { /// How long an incoming connection has from its first packet to finish its - /// whole handshake, or `None` (the default) for no bound but the idle - /// timeout. + /// whole handshake, or `None` (the default) for no deadline. Without one, + /// only inactivity ends a stalled handshake: moq-quic's fixed 10 s + /// handshake idle timeout until QUIC is established, which + /// [`Transport::idle_timeout`] does not change, then + /// [`Transport::idle_timeout`] through the layers on top. + /// + /// [`Transport::idle_timeout`]: super::Transport::idle_timeout pub timeout: Option, }