small fixes

This commit is contained in:
nora 2024-08-30 01:38:58 +02:00
parent 185d77e94f
commit 026965bda5
19 changed files with 124 additions and 106 deletions

View file

@ -153,8 +153,8 @@ impl ChannelsState {
}
pub fn recv_packet(&mut self, packet: Packet) -> Result<()> {
// TODO: window
// TODO: what if we mostly ignored window and just always increased it again?
// there's an excention to ignore it entirely that we could also support...
let mut p = packet.payload_parser();
let packet_type = p.u8()?;
match packet_type {