mirror of
https://github.com/greatest-ape/aquatic.git
synced 2026-10-23 17:52:27 +00:00
http: add debug statement on invalid requests
This commit is contained in:
1 parent
ce9fdc3887
commit
47228a8d3c
1 file changed
+2
@@ -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