You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// As specified by RFC 7540, a HEADERS frame (and associated CONTINUATION frames) can only appear
1149
-
// at the start or end of a stream. Therefore, second HEADERS frame must have EOS bit set.
1148
+
// As specified by gRPC over HTTP2, a HEADERS frame (and associated CONTINUATION frames) can only appear at the start or end of a stream. Therefore, second HEADERS frame must have EOS bit set.
1150
1149
st:=status.New(codes.Internal, "a HEADERS frame cannot appear in the middle of a stream")
// Initialize isGRPC value to be !initialHeader, since if a gRPC ResponseHeader has been received
1157
-
// which indicates peer speaking gRPC, we are in gRPC mode.
1155
+
// Initialize isGRPC value to be !initialHeader, since if a gRPC Response-Headers has already been received, then it means that the peer is speaking gRPC and we are in gRPC mode.
0 commit comments