Skip to content

Commit

Permalink
Add space
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandInguva committed Feb 12, 2024
1 parent fcff403 commit ad742c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/transport/http2_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ func (t *http2Server) HandleStreams(ctx context.Context, handle func(*Stream)) {
switch frame := frame.(type) {
case *http2.MetaHeadersFrame:
if err := t.operateHeaders(ctx, frame, handle); err != nil {
// Any error processing client headers,e.g. invalid stream ID,
// Any error processing client headers, e.g. invalid stream ID,
// is considered a protocol violation.
t.controlBuf.put(&goAway{
code: http2.ErrCodeProtocol,
Expand Down

0 comments on commit ad742c3

Please sign in to comment.