Skip to content

udp_listener: refactor ActiveUdpListener creation#7884

Merged
mattklein123 merged 28 commits intoenvoyproxy:masterfrom
danzh2010:listenerfactory
Aug 26, 2019
Merged

udp_listener: refactor ActiveUdpListener creation#7884
mattklein123 merged 28 commits intoenvoyproxy:masterfrom
danzh2010:listenerfactory

Conversation

@danzh2010
Copy link
Copy Markdown
Contributor

Modify ListenerConfig to provide a listener factory if the socket is a UDP socket through a new interface udpListenerFactory().
Modify ConnectionHandlerImpl to addListener() through the new interface.

Add a new member of type envoy::api::v2::listener::UdpListenerConfig in envoy::api::v2::Listener to take a user specified config for the UDP listener.

Risk Level: medium, bad config can create a UDP listener which is not production-ready.
Testing: re-use existing connection_handler_test, listener_manager_test and udp integration tests.

Part of #7433, #2557

Loading
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.

6 participants