What does te trailer headers means in gRPC's HTTP2 headers

54 views
Skip to first unread message

Yaxiong Zhao

unread,
Jul 3, 2019, 4:56:24 PM7/3/19
to grpc.io
Hi All,

I am confused by gRPC's framing protocol over HTTP2, in te trailers. It says: "TE → "te" "trailers" # Used to detect incompatible proxies".

A few questions:
* What is proxy in this statement?
* How is it able to detect incompatible proxies?

Thanks in advance!

Eric Anderson

unread,
Jul 12, 2019, 6:56:34 PM7/12/19
to Yaxiong Zhao, grpc.io
See https://tools.ietf.org/html/rfc7230#section-4.3

Proxy would mainly be an L7 reverse proxy, like, say Nginx. When HTTP reverse proxies don't support trailers, they are supposed to remove "TE: trailers" from the request. If "TE: trailers" makes it from the client to the server it provides stronger confidence that trailers sent from the server to the client will actually arrive. gRPC depends on the trailers, and doesn't operate when they are dropped. See also the last paragraph of section 4.1.2: https://tools.ietf.org/html/rfc7230#section-4.1.2

--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CABYNn7FhDVC3um%3DVArEt8d7n%3DzraAbhTyVQAsV0jqvg19i2pgQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages