This commit is contained in:
nora 2024-08-12 00:58:14 +02:00
parent fe7407362b
commit 51fe414821
3 changed files with 29 additions and 10 deletions

View file

@ -95,6 +95,8 @@ impl ServerChannelsState {
}
pub fn recv_packet(&mut self, packet: Packet) -> Result<()> {
// TODO: window
let mut packet = packet.payload_parser();
let packet_type = packet.u8()?;
match packet_type {