mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
http glommio: better debug logs for RequestParseError::NeedMoreData
This commit is contained in:
parent
a9b8b0224d
commit
6a1c12a38b
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ impl Connection {
|
||||||
Err(RequestParseError::NeedMoreData) => {
|
Err(RequestParseError::NeedMoreData) => {
|
||||||
::log::debug!(
|
::log::debug!(
|
||||||
"need more request data. current data: {:?}",
|
"need more request data. current data: {:?}",
|
||||||
std::str::from_utf8(&self.request_buffer)
|
std::str::from_utf8(&self.request_buffer[..self.request_buffer_position])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue