Closed emilchitas closed 3 years ago
cc @lambdai
@emilchitas You can use explicitly set false at runtime flag envoy.reloadable_features.require_strict_1xx_and_204_response_headers
See https://github.com/envoyproxy/envoy/pull/15880
Istio should be able to override bootstrap config to inject this runtime flag value at proxy startup but I forgot how...
Here: https://github.com/istio/istio/blob/master/samples/custom-bootstrap/README.md
Hmm, istio should have done it for you https://github.com/istio/istio/blob/master/tools/packaging/common/envoy_bootstrap.json#L30
you can run istioctl proxy-config bootstrap <pod-name[.namespace]>
to confirm the existence of nvoy.reloadable_features.require_strict_1xx_and_204_response_headers in bootstrap
https://istio.io/latest/docs/reference/commands/istioctl/#istioctl-proxy-config-bootstrap%20Examples
Actually, it seems to be set to false, if it's envoy.reloadable_features.strict_1xx_and_204_response_headers"
.
I've attached the whole output. botstrap.txt
I was insane when I commented days back.
Content-length with Transfer-Encoding is a completely different issue. Let me check...
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.
If you are reporting any crash or any potential security issue, do not open an issue in this repo. Please report the issue via emailing envoy-security@googlegroups.com where the issue will be triaged appropriately.
Title: allow_chunked_length does not remove the header
Description: With the allow_chunked_header enabled, we get the http/1.1 protocol error: both 'Content-Length' and 'Transfer-Encoding' are set. Istio version: 1.10
Repro steps:
Admin and Stats Output:
Config: Envoy filter configuration:
Logs:
Call Stack: