Use error 53 for mismatched port

This commit is contained in:
Matt Brubeck 2020-11-21 09:51:28 -08:00
parent 8b418ea09f
commit 6b553afa13

View file

@ -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)