mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http: add debug statement on invalid requests
This commit is contained in:
parent
ce9fdc3887
commit
47228a8d3c
1 changed files with 2 additions and 0 deletions
|
|
@ -255,6 +255,8 @@ impl Connection {
|
|||
failure_reason: "Invalid request".into(),
|
||||
};
|
||||
|
||||
::log::debug!("Invalid request: {:#}", err);
|
||||
|
||||
return Ok(Either::Left(response));
|
||||
}
|
||||
Err(RequestParseError::NeedMoreData) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue