Skip to content

Commit

Permalink
internal/transport: Remove redundant if conditional in http2_server (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
chengfang committed Jan 29, 2024
1 parent 5051eea commit 8d735f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/transport/http2_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,10 +636,6 @@ func (t *http2Server) HandleStreams(ctx context.Context, handle func(*Stream)) {
}
continue
}
if err == io.EOF || err == io.ErrUnexpectedEOF {
t.Close(err)
return
}
t.Close(err)
return
}
Expand Down

0 comments on commit 8d735f0

Please sign in to comment.