Skip to content

Commit

Permalink
Fixed typos in comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
MakMukhi committed Jun 1, 2017
1 parent 8f0df4b commit 8c0ff3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion transport/http2_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ func (t *http2Client) handleData(f *http2.DataFrame) {
}
// Decouple connection's flow control from application's read.
// An update on connection's flow control should not depend on
// whether user-applicaiton has read the data or not. Such a
// whether user application has read the data or not. Such a
// restriction is already imposed on the stream's flow control,
// and therefore the sender will be blocked anyways.
// Decoupling the connection flow control will prevent other
Expand Down
2 changes: 1 addition & 1 deletion transport/http2_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ func (t *http2Server) handleData(f *http2.DataFrame) {
}
// Decouple connection's flow control from application's read.
// An update on connection's flow control should not depend on
// whether user-applicaiton has read the data or not. Such a
// whether user application has read the data or not. Such a
// restriction is already imposed on the stream's flow control,
// and therefore the sender will be blocked anyways.
// Decoupling the connection flow control will prevent other
Expand Down
2 changes: 1 addition & 1 deletion transport/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ func TestMaxConnectionAge(t *testing.T) {
}
}

// TestKeepaliveServer tests that a server closes conneciton with a client that doesn't respond to keepalive pings.
// TestKeepaliveServer tests that a server closes connection with a client that doesn't respond to keepalive pings.
func TestKeepaliveServer(t *testing.T) {
serverConfig := &ServerConfig{
KeepaliveParams: keepalive.ServerParameters{
Expand Down

0 comments on commit 8c0ff3d

Please sign in to comment.