Skip to content

[9.20] fix: dev: Don't enable REUSEADDR on outgoing UDP sockets

The outgoing UDP sockets enabled SO_REUSEADDR that allows sharing of the UDP sockets, but with one big caveat - the socket that was opened the last would get all traffic. The dispatch code would ignore the invalid responses in the dns_dispatch, but this could lead to unexpected results.

Backport of MR !9569 (merged)

Merge request reports