mirror of
https://github.com/greatest-ape/aquatic.git
synced 2026-08-28 22:59:01 +00:00
http: add debug statement on invalid requests
This commit is contained in:
@@ -255,6 +255,8 @@ impl Connection {
|
||||
failure_reason: "Invalid request".into(),
|
||||
};
|
||||
|
||||
::log::debug!("Invalid request: {:#}", err);
|
||||
|
||||
return Ok(Either::Left(response));
|
||||
}
|
||||
Err(RequestParseError::NeedMoreData) => {
|
||||
|
||||
Reference in New Issue
Block a user