-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(net): correct packet math for poll_recv (#1698)
## Description - `meta.len` is the length of the actually received data (not `buf.len()`) - `meta.stride` is the length of an individual packet (not `meta.len`) This was triggering #1696 because for STUN packets the additional (empty) buffer was considered to be QUIC packets, resulting in the warning.
- Loading branch information
1 parent
d0c7cac
commit c603a9e
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters