Skip to content

Have QuicTestServer to support Cronet request#2058

Merged
carloseltuerto merged 6 commits intoenvoyproxy:mainfrom
carloseltuerto:cronvoy061
Feb 16, 2022
Merged

Have QuicTestServer to support Cronet request#2058
carloseltuerto merged 6 commits intoenvoyproxy:mainfrom
carloseltuerto:cronvoy061

Conversation

@carloseltuerto
Copy link
Copy Markdown
Contributor

@carloseltuerto carloseltuerto commented Feb 15, 2022

Attempts to mimic this: https://source.chromium.org/chromium/chromium/src/+/main:components/cronet/testing/test_server/data/quic_data/simple.txt
The original QuicTestServer reads that file and caches it while booting up, and precomputes the full response out of it.

Description: provide a canned response to a specific request.
Risk Level: N/A - only changes test infrastructure
Testing: CI
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Charles Le Borgne <cleborgne@google.com>
Signed-off-by: Charles Le Borgne <cleborgne@google.com>
Signed-off-by: Charles Le Borgne <cleborgne@google.com>
Signed-off-by: Charles Le Borgne <cleborgne@google.com>
Signed-off-by: Charles Le Borgne <cleborgne@google.com>
Signed-off-by: Charles Le Borgne <cleborgne@google.com>
Copy link
Copy Markdown
Contributor

@alyssawilk alyssawilk left a comment

Choose a reason for hiding this comment

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

do we want to turn up one of the cronet tests to make sure this works e2e?

@carloseltuerto
Copy link
Copy Markdown
Contributor Author

carloseltuerto commented Feb 15, 2022

I wish. But then I would need to configure Cronvoy in such a way that it would be able to establish an H3 connection to an H3 test server.
Today Cronvoy uses the default EM Client Configuration. And then, I would need a way to tell the EM Client to "fake" the certificate verification.
I don't know yet how to do that.

@carloseltuerto carloseltuerto merged commit d32411b into envoyproxy:main Feb 16, 2022
@carloseltuerto carloseltuerto deleted the cronvoy061 branch February 16, 2022 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants