network: add tcp listener backlog config#12625
network: add tcp listener backlog config#12625mattklein123 merged 2 commits intoenvoyproxy:masterfrom
Conversation
Signed-off-by: Florin Coras <fcoras@cisco.com>
mattklein123
left a comment
There was a problem hiding this comment.
Awesome, thank you! LGTM with small comments.
/wait
include/envoy/event/dispatcher.h
Outdated
| Network::ListenerCallbacks& cb, | ||
| bool bind_to_port) PURE; | ||
| Network::ListenerCallbacks& cb, bool bind_to_port, | ||
| uint32_t backlog_size = ENVOY_TCP_BACKLOG_SIZE) PURE; |
There was a problem hiding this comment.
Can we not have a default param on this interface? I would prefer that we make sure we hit all call sites. How many other places need to change?
There was a problem hiding this comment.
It's definitely possible because the first version of the patch didn't use a default param :-). It's a decent amount of tests, but if you're okay with that, I can push an update.
| void setupServerSocket(Event::DispatcherImpl& dispatcher, Socket& socket); | ||
|
|
||
| ListenerCallbacks& cb_; | ||
| uint32_t backlog_size_; |
|
Windows and arm seem to be failing consistently but with timeouts in unexpected places e.g., |
|
There are various flakes that are being worked on. See #12527. I will rerun. |
|
Thanks, @mattklein123! |
* master: (67 commits) logger: support log control in admin interface and command line option for Fancy Logger (envoyproxy#12369) test: fix http_timeout_integration_test flake (envoyproxy#12654) [fuzz]added an input check in writefilter fuzzer and added test cases (envoyproxy#12628) add 'explicit' restriction. (envoyproxy#12643) scoped_rds_integration_test migrate from api v2 to api v3. (envoyproxy#12633) fuzz: added fuzz test for listener filter tls_inspector (envoyproxy#12617) testing: fix multiple race conditions in simulated time tests (envoyproxy#12527) [tls] Move handshaking behavior into SslSocketInfo. (envoyproxy#12571) header: getting rid of exception-throwing behaviors in header files [the rest] (envoyproxy#12611) router: add new ratelimited retry backoff strategy (envoyproxy#12202) [redis_proxy] added a constraint for route.prefix().size() (envoyproxy#12637) network: add tcp listener backlog config (envoyproxy#12625) runtime: debug log that condition is always true when fractionalPercent numerator > denominator (envoyproxy#12068) WatchDog Extension hook (envoyproxy#12416) router: add dynamic metadata header formatter (envoyproxy#11858) statsd: revert visibility to public (envoyproxy#12621) Fix regression of /build_* in gitignore (envoyproxy#12630) Added a missing extension point to documentation. (envoyproxy#12620) Reverts proxy protocol test on windows (envoyproxy#12619) caching: Improved the tests and coverage of the CacheFilter tree (envoyproxy#12544) ... Signed-off-by: Michael Puncel <mpuncel@squareup.com>
Signed-off-by: Florin Coras fcoras@cisco.com
Risk Level: Low
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a