You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question about different listeners listen same port when enable_reuse_port set to true. #19099
When enable_reuse_port set to ture,different listeners can listen same port without error,and the accept behavior depand on kernel,maybe cause route unpredictable?
Since envoy1.20 ,enable_reuse_port is default to true.
When use the static config above,the request to port 8888 will randomly route to cluster_0 or cluster_1.
Is that a reasonable behavior?
Activity
ggreenway commentedon Nov 29, 2021
No, this is a bug. The configuration should have failed validation in this case.
ggreenway commentedon Nov 29, 2021
cc @mattklein123
mattklein123 commentedon Nov 29, 2021
Yeah definitely a bug. I can look into fixing.
listener: disallow duplicate port specification
listener: disallow duplicate port specification (#19145)