mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
use a uint64 in the AllowConnectionWindowIncrease callback
This commit is contained in:
parent
bfd685faf2
commit
cb6db58fc1
3 changed files with 3 additions and 3 deletions
|
@ -103,7 +103,7 @@ var _ = Describe("Config", func() {
|
|||
var calledAcceptToken, calledAllowConnectionWindowIncrease bool
|
||||
c1 := &Config{
|
||||
AcceptToken: func(_ net.Addr, _ *Token) bool { calledAcceptToken = true; return true },
|
||||
AllowConnectionWindowIncrease: func(Session, int) bool { calledAllowConnectionWindowIncrease = true; return true },
|
||||
AllowConnectionWindowIncrease: func(Session, uint64) bool { calledAllowConnectionWindowIncrease = true; return true },
|
||||
}
|
||||
c2 := c1.Clone()
|
||||
c2.AcceptToken(&net.UDPAddr{}, &Token{})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue