From 7d1f17e5d66d71b274bd986c2952417f9b8174fa Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Sun, 6 May 2018 22:07:54 +0900 Subject: [PATCH] log all connection flow control window increases --- internal/flowcontrol/connection_flow_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/flowcontrol/connection_flow_controller.go b/internal/flowcontrol/connection_flow_controller.go index c4f6e125e..9dd34e3e1 100644 --- a/internal/flowcontrol/connection_flow_controller.go +++ b/internal/flowcontrol/connection_flow_controller.go @@ -78,6 +78,7 @@ func (c *connectionFlowController) GetWindowUpdate() protocol.ByteCount { func (c *connectionFlowController) EnsureMinimumWindowSize(inc protocol.ByteCount) { c.mutex.Lock() if inc > c.receiveWindowSize { + c.logger.Debugf("Increasing receive flow control window for the connection to %d kB, in response to stream flow control window increase", c.receiveWindowSize/(1<<10)) c.receiveWindowSize = utils.MinByteCount(inc, c.maxReceiveWindowSize) c.startNewAutoTuningEpoch() }