hystrix: emit ":no-chunks" pseudo-header only in HTTP/1.x streams.#9737
hystrix: emit ":no-chunks" pseudo-header only in HTTP/1.x streams.#9737mattklein123 merged 6 commits intoenvoyproxy:masterfrom
Conversation
It appears that we've added a custom "Envoy only" pseudo-header, which is clearly forbidden by the HTTP/2 spec. It's only used by the Hystrix Dashboard Event Stream, so presumably it's not widely used, but it's been breaking some intermediaries. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
|
Reviving #9093. |
mattklein123
left a comment
There was a problem hiding this comment.
@PiotrSikora I still don't understand how this is breaking anyone. This header is never written to the wire. Can you please explain how this is breaking anyone? Thank you.
|
@mattklein123 it's sent on the wire when using HTTP/2. Add |
Ah OK, sorry, I forget that we now allow admin over HTTP/2. TBH, I never should have allowed this hack in the first place. I think the correct way of handling this is to have some attribute API that is plumbed through all the way to the encoder, either in stream info or otherwise, that is then inspected by the HTTP/1 codec. So I think there are probably two options here:
WDYT? /wait |
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
|
I'm going to do (2), since (1) is going to take way more time that I have right now. Filled #9749 to track (1). |
|
@mattklein123 Done. I removed the deprecation and runtime flags, since it sounds like this was never supposed to be sent on the wire, so it's purely a bugfix. PTAL. |
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
It appears that we've added a custom "Envoy only" pseudo-header,
which is clearly forbidden by the HTTP/2 spec.
It's only used by the Hystrix Dashboard Event Stream, so presumably
it's not widely used, but it's been breaking some intermediaries.
Signed-off-by: Piotr Sikora piotrsikora@google.com