Fix bug with missing bytes
parent
1e435c419e
commit
2496c2a22a
|
|
@ -623,6 +623,7 @@ impl TMClient {
|
|||
match BackendPacket::from_bytes(&header.to_vec()) {
|
||||
Some(packet) => {
|
||||
data_size = packet.size as usize;
|
||||
read_bytes += BACKEND_PACKET_HEADER_SIZE;
|
||||
log::debug!("Received {} bytes ({}/{})", read_bytes, read_bytes, BACKEND_PACKET_HEADER_SIZE + data_size);
|
||||
},
|
||||
None => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue