-
Notifications
You must be signed in to change notification settings - Fork 129
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
IPV4/IPV6 over loopback spec has a race condition #142
Comments
|
Hi Zevv,
Cheers, |
Sock I/O is deterministic, as long as you have full control over a stable test environment. Travis is a bit of a special case because of the virtualisation, so I guess results might vary between runs when the people at Travis make changes to their environent. |
So, what do you think; shall I fix the socket functions to return proper POSIX return values instead of true/false (the way they should have been from the beginning), and we accept breaking compatibility for current users? |
I don't think we need to break backward compatibility, but otherwise yes, please go ahead and fix the return values if you'd like. Before the next release, I'll patch up posix/sys.lua to return true/false and posix.lua to call posix/sys.lua APIs with deprecation warnings. A release or two after that, I'll remove the deprecated compatibility wrappers having given users enough time to upgrade their calls :) Cheers, |
https://travis-ci.org/luaposix/luaposix/jobs/33012265
Luajit build spuriously fails with:
The text was updated successfully, but these errors were encountered: