You're right that gRPC C++ doesn't compress arbitrary metadata: we get some performance advantages from being able to predictably compress important protocol metadata, and we've found that compressing arbitrary metadata interferes with this - it's usually not compressible enough, and when it is it's too computationally intensive to do a good job. We've considered ways to improve that, but right now the best paths forward likely need a breaking API change.
On Tue, Apr 9, 2024 at 11:36 AM 'yas...@google.com' via grpc.io < grpc-io@googlegroups.com> wrote: > gRPC does support HPACK. By grpc-v1100, do you mean gRPC 1.1? That seems > like a really old version? Please use the latest release instead. > > On Friday, March 22, 2024 at 8:53:07 AM UTC-7 A-SaltedFish wrote: > >> I want to add a custom header in request with C++ client using “ >> *Custom-Metadata”,* >> and the header-value pair is fixed。 >> Acrrording to HTTP2, the header should be cached by client and server, >> and only transfer a HPACKED header presented by a index-num . but when i >> check the Tcpdump data, I found the header was not indexed at all. >> the version i used : grpc-v1100. >> I checked the source code, and i found that grpc not support >> custom-header to be indexed. >> I wander why doed grpc c++ not impelement this , and any project to add >> support for indexing custom-header? >> >> >> >> -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to grpc-io+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/954c31dd-eedd-4018-b0b1-c4d1d31a1202n%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/954c31dd-eedd-4018-b0b1-c4d1d31a1202n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAAvp3oNHTUaPv5ipdDyrW7oOSX9Xq-p7NYMXjKOykuXTWW3i5g%40mail.gmail.com.
smime.p7s
Description: S/MIME Cryptographic Signature