Skip to content

Commit

Permalink
added stream prio, implemented emit in stream manager, added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ilumary committed Oct 25, 2024
1 parent 018da03 commit 1589511
Show file tree
Hide file tree
Showing 2 changed files with 307 additions and 64 deletions.
1 change: 1 addition & 0 deletions project/src/quic/packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ impl fmt::Display for Header {
}
}

#[inline]
pub fn varint_length(num: u64) -> usize {
match num {
0..=63 => 1,
Expand Down
Loading

0 comments on commit 1589511

Please sign in to comment.