Skip to content

Commit d551c4c

Browse files
committed
fix reviews
1 parent 3796c19 commit d551c4c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: internal/transport/http_util.go

-6
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,6 @@ func (d *decodeState) decodeHeader(frame *http2.MetaHeadersFrame) error {
275275
}
276276

277277
for _, hf := range frame.Fields {
278-
if hf.Name != "content-type" && hf.Name != ":status" && d.data.grpcErr != nil {
279-
// if we've already encountered grpc related field parsing error, then we skip processing
280-
// all following grpc related field.
281-
continue
282-
}
283-
284278
d.processHeaderField(hf)
285279
}
286280

0 commit comments

Comments
 (0)