From 36085bde1be2402cb613747dfccef05f6e3e7498 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Mon, 17 Oct 2022 12:37:12 +0100 Subject: [PATCH] rename the variable in quic.Config.AllowConnectionWindowIncrease --- interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.go b/interface.go index 8fbeab1f10d..feb752f3e51 100644 --- a/interface.go +++ b/interface.go @@ -290,7 +290,7 @@ type Config struct { // limit the memory usage. // To avoid deadlocks, it is not valid to call other functions on the connection or on streams // in this callback. - AllowConnectionWindowIncrease func(sess Connection, delta uint64) bool + AllowConnectionWindowIncrease func(conn Connection, delta uint64) bool // MaxIncomingStreams is the maximum number of concurrent bidirectional streams that a peer is allowed to open. // Values above 2^60 are invalid. // If not set, it will default to 100.