Skip to content

upstreams: moving APIs to include#11555

Merged
alyssawilk merged 1 commit into
envoyproxy:masterfrom
alyssawilk:pluggable_incline
Jun 11, 2020
Merged

upstreams: moving APIs to include#11555
alyssawilk merged 1 commit into
envoyproxy:masterfrom
alyssawilk:pluggable_incline

Conversation

@alyssawilk
Copy link
Copy Markdown
Contributor

Moving the Generic class definitions into the include file, in preparation for pluggable upstreams
split out from #11327

Risk Level: Low (mostly only header changes)
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
@alyssawilk alyssawilk changed the title conn_pool: moving APIs to include upstreams: moving APIs to include Jun 11, 2020
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.

LGTM just one question.

/wait-any

Comment on lines +605 to +606
auto pool = std::make_unique<TcpConnPool>(config_.cm_, *route_entry_, protocol, this);
if (pool->valid()) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This will eventually become a factory that can return null, right? If so this makes sense to me as a stop gap. Another option would be to just create a static factory for each type that can return null in this PR. Up to you.

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.

Exactly - the factory will return null - setting that PR up now :-)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Cool sounds good.

@alyssawilk alyssawilk merged commit e720cda into envoyproxy:master Jun 11, 2020
arthuryan-k pushed a commit to arthuryan-k/envoy that referenced this pull request Jun 15, 2020
Moving the Generic class definitions into the include file, in preparation for pluggable upstreams
split out from envoyproxy#11327

Risk Level: Low (mostly only header changes)
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Arthur Yan <arthuryan@google.com>
yashwant121 pushed a commit to yashwant121/envoy that referenced this pull request Jun 24, 2020
Moving the Generic class definitions into the include file, in preparation for pluggable upstreams
split out from envoyproxy#11327

Risk Level: Low (mostly only header changes)
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: yashwant121 <yadavyashwant36@gmail.com>
songhu pushed a commit to songhu/envoy that referenced this pull request Jun 25, 2020
Moving the Generic class definitions into the include file, in preparation for pluggable upstreams
split out from envoyproxy#11327

Risk Level: Low (mostly only header changes)
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
yashwant121 pushed a commit to yashwant121/envoy that referenced this pull request Jul 24, 2020
Moving the Generic class definitions into the include file, in preparation for pluggable upstreams
split out from envoyproxy#11327

Risk Level: Low (mostly only header changes)
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: yashwant121 <yadavyashwant36@gmail.com>
@alyssawilk alyssawilk deleted the pluggable_incline branch September 30, 2020 15:46
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.

2 participants