fix some owned args
This commit is contained in:
parent
2e821108c9
commit
b1ef8c1079
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue