Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux doesn't like it when you reuse a udp socket from local to non-local #19

Open
daurnimator opened this issue Mar 9, 2017 · 0 comments

Comments

@daurnimator
Copy link

daurnimator commented Mar 9, 2017

See daurnimator/lua-http#73
Replicated here: https://gist.github.com/daurnimator/6765345776e87a3830ed101d1d983ee1
I've reported it to the linux kernel list: https://marc.info/?l=linux-netdev&m=148903250120465&w=2

A simple workaround seems to be calling connect() with AF_UNSPEC between other connect() calls

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

No branches or pull requests

1 participant