modify some comments

This commit is contained in:
iamqizhao
2015-03-31 16:56:21 -07:00
parent 4214baa3c1
commit bc3c662d9e
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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.