luasocket
luasocket copied to clipboard
SO_PEERCRED/SO_PASSCRED porting + allow NULL bytes in the UDS name
I ported @sathieu's PR to the latest LuaSocket version and allowed for null bytes in the stream name to allow for abstract sockets (UDS not on the filesystem but on the current namespace) and added some ifdefs to account for Windows.
Should likely add test cases for both changes; NYI/taking suggestions