Skip to content

http: testing 304-with-body behavior#11261

Merged
alyssawilk merged 2 commits intoenvoyproxy:masterfrom
alyssawilk:30x
May 20, 2020
Merged

http: testing 304-with-body behavior#11261
alyssawilk merged 2 commits intoenvoyproxy:masterfrom
alyssawilk:30x

Conversation

@alyssawilk
Copy link
Copy Markdown
Contributor

Risk Level: n/a (test only)
Testing: new integration test
Docs Changes: n/a
Release Notes: n/a
Fixes #9274 as much as we can

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
if (downstream_protocol_ == Http::CodecClient::Type::HTTP2) {
EXPECT_TRUE(codec_client_->sawGoAway());
} else {
EXPECT_EQ("close", response->headers().Connection()->value().getStringView());
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is orthogonal, but noticed it doing test debugging when I was trying to tweak behavior, and I think we should have in there to make sure we don't simply time out.

Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@alyssawilk alyssawilk merged commit 6a4b014 into envoyproxy:master May 20, 2020
spenceral added a commit to spenceral/envoy that referenced this pull request May 20, 2020
Signed-off-by: Spencer Lewis <slewis@squareup.com>

* master: (33 commits)
  docs: break release notes into categories (envoyproxy#11217)
  admin: extract more handlers to separate classes  (envoyproxy#11258)
  Load reporting service documentation  (envoyproxy#10962)
  http: testing 304-with-body behavior (envoyproxy#11261)
  fixing typos and breaking link issues (envoyproxy#11270)
  devex: initial commit of devcontainer setup (envoyproxy#11207)
  security: update policy for fix/disclosure SLOs. (envoyproxy#11243)
  http: fixing CONNECT to not advertise chunk encoding. (envoyproxy#11245)
  docs: update upstream network filters description (envoyproxy#11231)
  deps: update datadog tracer to v1.1.5 (envoyproxy#11253)
  test: Fix missing instantiation of parameterized tests. (envoyproxy#11247)
  fix go mirror when no changes (envoyproxy#11249)
  docs: host_rewrite -> host_rewrite_literal (envoyproxy#11229)
  wasm: update V8 to v8.3.110.9. (envoyproxy#11233)
  tls: update BoringSSL to 107c03cf (4103). (envoyproxy#11232)
  bazelci: always exclude nocoverage tag in coverage config (envoyproxy#11226)
  ci: save api revision in go-control-plane (envoyproxy#11220)
  build: fix cares build (envoyproxy#11225)
  stats: Pre-allocate codec stats for http1 and http2 (envoyproxy#11135)
  api: manifest based edge default documentation. (envoyproxy#11151)
  ...
@alyssawilk alyssawilk deleted the 30x branch August 27, 2020 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Envoy emitting a cluster.upstream_cx_protocol_error metric for a 304 response with body, but not rejecting the response?

2 participants