aquatic_http: debug-log request GET path, use debug mode for bytes read

This commit is contained in:
Joakim Frostegård 2020-07-04 12:38:30 +02:00
parent db51454c6d
commit 829701f4da
2 changed files with 3 additions and 1 deletions

View file

@ -60,7 +60,7 @@ impl EstablishedConnection {
Ok(bytes_read) => {
self.bytes_read += bytes_read;
info!("read_request read {} bytes", bytes_read);
::log::debug!("read_request read {} bytes", bytes_read);
},
Err(err) if err.kind() == ErrorKind::WouldBlock => {
return Err(RequestReadError::NeedMoreData);