mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-09 04:55:27 +00:00
Use error 53 for mismatched port
This commit is contained in:
parent
8b418ea09f
commit
6b553afa13
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ async fn parse_request<R: Read + Unpin>(
|
||||||
.parse()
|
.parse()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
}) {
|
}) {
|
||||||
Err((59, "port did not match"))
|
Err((53, "proxy request refused"))
|
||||||
} else {
|
} else {
|
||||||
log::info!("Got request for {:?}", url.as_str());
|
log::info!("Got request for {:?}", url.as_str());
|
||||||
Ok(url)
|
Ok(url)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue