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 of today, there is no way to pass through trailing headers into any response, because of that Http2StreamFrameToHttpObjectCodec will not be able, when encoding the last content, to send the End of stream.
This is a problem when using gRPC since the protocol relies on trailing headers.
Considered alternatives
Not really an alternative but, adding a new DefaultHttp2HeadersFrame when markSentBody, will lead to the right code-path.
As of today, there is no way to pass through trailing headers into any response, because of that
Http2StreamFrameToHttpObjectCodec
will not be able, when encoding the last content, to send the End of stream.This is a problem when using
gRPC
since the protocol relies on trailing headers.Considered alternatives
Not really an alternative but, adding a new
DefaultHttp2HeadersFrame
whenmarkSentBody
, will lead to the right code-path.Additional context
https://github.com/netty/netty/blob/201f6b6bb2dcdff07df6e30552b96fedbcf21759/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec.java#L134-L137
The text was updated successfully, but these errors were encountered: