Fix socket.connect
Previous implementation was not making sure the socket had the same family as the addr returned by getaddrinfo. So instead of "connection refused", we could get "invalid argument", which was our fault.
This commit is contained in:
parent
22107bb9fc
commit
6d93fd7c8f
2 changed files with 19 additions and 3 deletions
|
@ -1 +1 @@
|
|||
make DEBUG=DEBUG PLAT=macosx LUAINC_macosx_base=/Users/diego/build/macosx LUAPREFIX_macosx=/Users/diego/build/macosx install-both
|
||||
make DEBUG=DEBUG PLAT=macosx LUAINC_macosx_base=/Users/diego/build/macosx/include LUAPREFIX_macosx=/Users/diego/build/macosx install-both
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue