http3: applied cluster buffer limits to http/3#16466
http3: applied cluster buffer limits to http/3#16466alyssawilk merged 16 commits intoenvoyproxy:mainfrom
Conversation
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
| info_impl->quic_config_, info_impl->supported_versions_, std::move(connection), | ||
| info_impl->server_id_, info_impl->crypto_config_.get(), &static_info.push_promise_index_, | ||
| dispatcher, /*send_buffer_limit=*/0); | ||
| dispatcher, info_impl->buffer_limit_); |
There was a problem hiding this comment.
Mind adding some conn_pool tests for this?
danzh2010
left a comment
There was a problem hiding this comment.
Looks good overall along aside a request for testing.
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
|
|
||
| namespace { | ||
| // TODO(alyssawilk, danzh2010): This is mutable static info that is required for the QUICHE code. | ||
|
|
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
|
@snowp mind doing !googler pass? |
snowp
left a comment
There was a problem hiding this comment.
Just one comment, otherwise this LGTM
|
|
||
| NiceMock<Event::MockDispatcher> dispatcher_; | ||
| std::shared_ptr<Upstream::MockClusterInfo> cluster_{new NiceMock<Upstream::MockClusterInfo>()}; | ||
| Upstream::MockHost* mock_host = new NiceMock<Upstream::MockHost>; |
There was a problem hiding this comment.
Naming convention seems off for this field. Maybe just combine this and host_ into one field and avoid the raw pointer?
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
|
Done. Any other requests? |
| } | ||
| }; | ||
|
|
||
| TEST_F(QuicNetworkConnectionTest, BufferLimits) { |
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
|
Needs main merge + CI fix, code LG |
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
| EnvoyQuicProofVerifier(Envoy::Ssl::ClientContextSharedPtr&& context) | ||
| : context_(std::move(context)) {} | ||
| : context_(std::move(context)) { | ||
| ASSERT(context_.get()); | ||
| } | ||
|
|
There was a problem hiding this comment.
Does this change belong here? Not opposed to it, just seems unrelated to the main change in this PR
There was a problem hiding this comment.
it was a follow-up to a change requested in another PR.
I can split it into its own thing, but didn't think it was worth the CI cost :-P
There was a problem hiding this comment.
Fine with me as long as we're aware that we're doing it!
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Risk Level: Low (http/3 only) Testing: existing flow control tests pass Docs Changes: n/a Release Notes: n/a Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Risk Level: Low (http/3 only)
Testing: existing flow control tests pass
Docs Changes: n/a
Release Notes: n/a