Re: EINVAL when using connect() for udp sockets
From: Daurnimator <hidden>
Date: 2017-03-23 02:29:38
From: Daurnimator <hidden>
Date: 2017-03-23 02:29:38
On 9 March 2017 at 14:10, Daurnimator [off-list ref] wrote:
When debugging https://github.com/daurnimator/lua-http/issues/73 which uses https://github.com/wahern/dns we ran into an issue where modern linux kernels return EINVAL if you try and re-use a udp socket. The issue seems to occur if you go from a local destination ip to a non-local one.
Did anyone get a chance to look into this issue?