mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
fix IPv4 ECN control message length on Linux (#4127)
This commit is contained in:
parent
1c631cf9cb
commit
6239effc7a
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ const (
|
||||||
ipv4PKTINFO = unix.IP_PKTINFO
|
ipv4PKTINFO = unix.IP_PKTINFO
|
||||||
)
|
)
|
||||||
|
|
||||||
const ecnIPv4DataLen = 4
|
const ecnIPv4DataLen = 1
|
||||||
|
|
||||||
const batchSize = 8 // needs to smaller than MaxUint8 (otherwise the type of oobConn.readPos has to be changed)
|
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