Skip to content

Commit

Permalink
Set default http proxy port 80
Browse files Browse the repository at this point in the history
"If the port number is not specified, 80 is always assumed for HTTP."
See: https://www.w3.org/Protocols/HTTP/AsImplemented.html
  • Loading branch information
DanGould committed Feb 3, 2024
1 parent 2300a5b commit 718c972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ impl Proxy {
server,
user,
password,
port: port.unwrap_or(8080),
port: port.unwrap_or(80),
proto,
})
}
Expand Down

0 comments on commit 718c972

Please sign in to comment.