Skip to content

Commit 762b58d

Browse files
ianlancetaylorgopherbot
authored andcommitted
http2: fix tipos in comment
Change-Id: I20cd0f8db534fe2a849306eb7e0c8ee5b434e88f Reviewed-on: https://go-review.googlesource.com/c/net/+/576175 Auto-Submit: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
1 parent ba87210 commit 762b58d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http2/frame.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1591,7 +1591,7 @@ func (fr *Framer) readMetaFrame(hf *HeadersFrame) (*MetaHeadersFrame, error) {
15911591
log.Printf("http2: header list too large")
15921592
}
15931593
// It would be nice to send a RST_STREAM before sending the GOAWAY,
1594-
// but the struture of the server's frame writer makes this difficult.
1594+
// but the structure of the server's frame writer makes this difficult.
15951595
return nil, ConnectionError(ErrCodeProtocol)
15961596
}
15971597

@@ -1603,7 +1603,7 @@ func (fr *Framer) readMetaFrame(hf *HeadersFrame) (*MetaHeadersFrame, error) {
16031603
log.Printf("http2: invalid header: %v", invalid)
16041604
}
16051605
// It would be nice to send a RST_STREAM before sending the GOAWAY,
1606-
// but the struture of the server's frame writer makes this difficult.
1606+
// but the structure of the server's frame writer makes this difficult.
16071607
return nil, ConnectionError(ErrCodeProtocol)
16081608
}
16091609

0 commit comments

Comments
 (0)