mirror of
https://github.com/samsonjs/agate.git
synced 2026-03-25 09:05:50 +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()
|
||||
.unwrap()
|
||||
}) {
|
||||
Err((59, "port did not match"))
|
||||
Err((53, "proxy request refused"))
|
||||
} else {
|
||||
log::info!("Got request for {:?}", url.as_str());
|
||||
Ok(url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue