Skip to content

Commit 8c0ff3d

Browse files
committed
Fixed typos in comments.
1 parent 8f0df4b commit 8c0ff3d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

transport/http2_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ func (t *http2Client) handleData(f *http2.DataFrame) {
839839
}
840840
// Decouple connection's flow control from application's read.
841841
// An update on connection's flow control should not depend on
842-
// whether user-applicaiton has read the data or not. Such a
842+
// whether user application has read the data or not. Such a
843843
// restriction is already imposed on the stream's flow control,
844844
// and therefore the sender will be blocked anyways.
845845
// Decoupling the connection flow control will prevent other

transport/http2_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ func (t *http2Server) handleData(f *http2.DataFrame) {
476476
}
477477
// Decouple connection's flow control from application's read.
478478
// An update on connection's flow control should not depend on
479-
// whether user-applicaiton has read the data or not. Such a
479+
// whether user application has read the data or not. Such a
480480
// restriction is already imposed on the stream's flow control,
481481
// and therefore the sender will be blocked anyways.
482482
// Decoupling the connection flow control will prevent other

transport/transport_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ func TestMaxConnectionAge(t *testing.T) {
481481
}
482482
}
483483

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

0 commit comments

Comments
 (0)