modify some comments
This commit is contained in:
@ -91,7 +91,7 @@ type http2Client struct {
|
|||||||
activeStreams map[uint32]*Stream
|
activeStreams map[uint32]*Stream
|
||||||
// The max number of concurrent streams
|
// The max number of concurrent streams
|
||||||
maxStreams uint32
|
maxStreams uint32
|
||||||
// The accumulated inbound quota pending for updating the peer.
|
// The accumulated inbound quota pending for window update.
|
||||||
updateQuota uint32
|
updateQuota uint32
|
||||||
// the per-stream outbound flow control window size set by the peer.
|
// the per-stream outbound flow control window size set by the peer.
|
||||||
streamSendQuota uint32
|
streamSendQuota uint32
|
||||||
|
@ -83,7 +83,7 @@ type http2Server struct {
|
|||||||
mu sync.Mutex // guard the following
|
mu sync.Mutex // guard the following
|
||||||
state transportState
|
state transportState
|
||||||
activeStreams map[uint32]*Stream
|
activeStreams map[uint32]*Stream
|
||||||
// The accumulated inbound quota pending for updating the peer.
|
// The accumulated inbound quota pending for window update.
|
||||||
updateQuota uint32
|
updateQuota uint32
|
||||||
// the per-stream outbound flow control window size set by the peer.
|
// the per-stream outbound flow control window size set by the peer.
|
||||||
streamSendQuota uint32
|
streamSendQuota uint32
|
||||||
|
@ -175,7 +175,7 @@ type Stream struct {
|
|||||||
|
|
||||||
// The inbound quota being set
|
// The inbound quota being set
|
||||||
recvQuota uint32
|
recvQuota uint32
|
||||||
// The accumulated inbound quota pending for updating the peer.
|
// The accumulated inbound quota pending for window update.
|
||||||
updateQuota uint32
|
updateQuota uint32
|
||||||
// The handler to control the window update procedure for both this
|
// The handler to control the window update procedure for both this
|
||||||
// particular stream and the associated transport.
|
// particular stream and the associated transport.
|
||||||
|
Reference in New Issue
Block a user