mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-10 03:09:50 +08:00
fix(ci): align lint-safe security paths
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user