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
The final message in a grpc-web response stream has a special bit set that indicates it contains trailers. If the header byte for that message has both the "compressed" and "trailers" bits set, the compressed flag is effectively ignored. It attempts to parse the compressed data, which of course results in an error:
jhump
changed the title
grpc-web: trailers message is not being decompress is compressed bit is set
grpc-web: trailers message is not being decompressed when compressed bit is set
Feb 13, 2025
The final message in a grpc-web response stream has a special bit set that indicates it contains trailers. If the header byte for that message has both the "compressed" and "trailers" bits set, the compressed flag is effectively ignored. It attempts to parse the compressed data, which of course results in an error:
Having both bits set is definitely valid per the protocol. The protocol spec even has exactly this combination in the examples for header byte.
The text was updated successfully, but these errors were encountered: