Skip to content

Commit

Permalink
http2: fix tipos in comment
Browse files Browse the repository at this point in the history
Change-Id: I20cd0f8db534fe2a849306eb7e0c8ee5b434e88f
Reviewed-on: https://go-review.googlesource.com/c/net/+/576175
Auto-Submit: Ian Lance Taylor <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Damien Neil <[email protected]>
  • Loading branch information
ianlancetaylor authored and gopherbot committed Apr 3, 2024
1 parent ba87210 commit 762b58d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http2/frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ func (fr *Framer) readMetaFrame(hf *HeadersFrame) (*MetaHeadersFrame, error) {
log.Printf("http2: header list too large")
}
// It would be nice to send a RST_STREAM before sending the GOAWAY,
// but the struture of the server's frame writer makes this difficult.
// but the structure of the server's frame writer makes this difficult.
return nil, ConnectionError(ErrCodeProtocol)
}

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

Expand Down

0 comments on commit 762b58d

Please sign in to comment.