fix(ci): align lint-safe security paths

This commit is contained in:
elky
2026-09-05 03:19:53 +08:00
parent f5e1420ee6
commit 33d5cd5993
45 changed files with 180 additions and 132 deletions
+4
View File
@@ -563,6 +563,10 @@ fn insert_ascii_header(
Ok(())
}
// The handshake transcript has a fixed set of wire fields. Keep the explicit
// arguments and ordering so the client remains interoperable with existing
// tunnel servers.
#[allow(clippy::too_many_arguments)]
fn insert_tunnel_security_handshake_headers(
headers: &mut http::HeaderMap,
key: &str,
@@ -1617,7 +1617,7 @@ where
redirect_count,
request_body_size.load(Ordering::Relaxed),
),
&error_message,
error_message,
total_elapsed,
);
send_error(frame_tx, stream_id, error_message).await;
@@ -2091,10 +2091,10 @@ async fn handle_stream_inner(
redirects_followed,
request_body_size.load(Ordering::Relaxed),
),
&error_message,
error_message,
overall_start.elapsed(),
);
send_error(frame_tx, stream_id, &error_message).await;
send_error(frame_tx, stream_id, error_message).await;
return None;
}
}