fix some owned args

This commit is contained in:
Jun Kurihara 2022-07-09 18:16:48 +09:00
commit b1ef8c1079
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
3 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@ use std::net::SocketAddr;
pub(super) fn apply_upstream_options_to_header(
headers: &mut HeaderMap,
_client_addr: SocketAddr,
_client_addr: &SocketAddr,
upstream_scheme_host: &Uri,
upstream: &Upstream,
) -> Result<()> {
@ -48,7 +48,7 @@ pub(super) fn append_header_entry(
pub(super) fn add_forwarding_header(
headers: &mut HeaderMap,
client_addr: SocketAddr,
client_addr: &SocketAddr,
tls: bool,
) -> Result<()> {
// default process