-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transport_sockets: fixing alpn for wrapped sockets #19281
Conversation
Signed-off-by: Alyssa Wilk <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
public: | ||
PassthroughFactory(Network::TransportSocketFactoryPtr&& transport_socket_factory) | ||
: transport_socket_factory_(std::move(transport_socket_factory)) { | ||
ASSERT(transport_socket_factory_.get()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: ASSERT(transport_socket_factory_ != nullptr)
is slightly clearer.
} | ||
|
||
protected: | ||
// The wrapped factory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
end with period.
Signed-off-by: Alyssa Wilk <[email protected]>
Signed-off-by: Alyssa Wilk <[email protected]>
Creating a passthrough factory for consistent handling of wrapped characteristics for proxy_proto, tap, and tcp_stats socket factories. Risk Level: low Testing: new unit testing Docs Changes: n/a Release Notes: inline Part of envoyproxy#19149 Signed-off-by: Alyssa Wilk <[email protected]> Signed-off-by: Josh Perry <[email protected]>
Creating a passthrough factory for consistent handling of wrapped characteristics for proxy_proto, tap, and tcp_stats socket factories.
Risk Level: low
Testing: new unit testing
Docs Changes: n/a
Release Notes: inline
Part of #19149