fix(host): allow too_many_arguments on the two fns the v4 merge grew
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@ use super::*;
|
|||||||
|
|
||||||
/// Run the Hello→Welcome→Start negotiation. Borrows the control streams (the caller keeps them for
|
/// Run the Hello→Welcome→Start negotiation. Borrows the control streams (the caller keeps them for
|
||||||
/// mid-stream renegotiation afterwards). `first` is the already-read first control message.
|
/// mid-stream renegotiation afterwards). `first` is the already-read first control message.
|
||||||
#[allow(clippy::type_complexity)]
|
#[allow(clippy::type_complexity, clippy::too_many_arguments)]
|
||||||
pub(super) async fn negotiate(
|
pub(super) async fn negotiate(
|
||||||
conn: &quinn::Connection,
|
conn: &quinn::Connection,
|
||||||
send: &mut quinn::SendStream,
|
send: &mut quinn::SendStream,
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ fn session_ref(s: &LiveSession) -> crate::events::SessionRef {
|
|||||||
/// Registers a live native session; the returned guard removes it on drop (session end).
|
/// Registers a live native session; the returned guard removes it on drop (session end).
|
||||||
/// Emits the `session.started` lifecycle event; the guard's drop emits `session.ended` — RAII,
|
/// Emits the `session.started` lifecycle event; the guard's drop emits `session.ended` — RAII,
|
||||||
/// so every exit path (return, `?`, panic-unwind) pairs them.
|
/// so every exit path (return, `?`, panic-unwind) pairs them.
|
||||||
|
#[allow(clippy::too_many_arguments)]
|
||||||
pub fn register(
|
pub fn register(
|
||||||
mode: Arc<AtomicU64>,
|
mode: Arc<AtomicU64>,
|
||||||
bitrate_kbps: Arc<AtomicU32>,
|
bitrate_kbps: Arc<AtomicU32>,
|
||||||
|
|||||||
Reference in New Issue
Block a user