diff --git a/transport/http2_client.go b/transport/http2_client.go index bda42085..87467cbb 100644 --- a/transport/http2_client.go +++ b/transport/http2_client.go @@ -91,7 +91,7 @@ type http2Client struct { activeStreams map[uint32]*Stream // The max number of concurrent streams maxStreams uint32 - // The accumulated inbound quota pending for updating the peer. + // The accumulated inbound quota pending for window update. updateQuota uint32 // the per-stream outbound flow control window size set by the peer. streamSendQuota uint32 diff --git a/transport/http2_server.go b/transport/http2_server.go index 7da2db43..1609ac83 100644 --- a/transport/http2_server.go +++ b/transport/http2_server.go @@ -83,7 +83,7 @@ type http2Server struct { mu sync.Mutex // guard the following state transportState activeStreams map[uint32]*Stream - // The accumulated inbound quota pending for updating the peer. + // The accumulated inbound quota pending for window update. updateQuota uint32 // the per-stream outbound flow control window size set by the peer. streamSendQuota uint32 diff --git a/transport/transport.go b/transport/transport.go index 34b22975..56b31b87 100644 --- a/transport/transport.go +++ b/transport/transport.go @@ -175,7 +175,7 @@ type Stream struct { // The inbound quota being set recvQuota uint32 - // The accumulated inbound quota pending for updating the peer. + // The accumulated inbound quota pending for window update. updateQuota uint32 // The handler to control the window update procedure for both this // particular stream and the associated transport.