mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
use batched reads
This commit is contained in:
parent
e9d12b7f83
commit
870c759515
7 changed files with 163 additions and 21 deletions
|
@ -15,3 +15,5 @@ const (
|
|||
msgTypeIPv4PKTINFO = unix.IP_PKTINFO
|
||||
msgTypeIPv6PKTINFO = unix.IPV6_PKTINFO
|
||||
)
|
||||
|
||||
const batchSize = 8 // needs to smaller than MaxUint8 (otherwise the type of oobConn.readPos has to be changed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue