Skip to content

Commit

Permalink
Break comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandInguva committed Feb 10, 2024
1 parent 26c215b commit fcff403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/transport/http2_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,8 @@ 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, is considered a protocol violation.
// Any error processing client headers,e.g. invalid stream ID,
// is considered a protocol violation.
t.controlBuf.put(&goAway{
code: http2.ErrCodeProtocol,
debugData: []byte(err.Error()),
Expand Down

0 comments on commit fcff403

Please sign in to comment.