luasocket icon indicating copy to clipboard operation
luasocket copied to clipboard

SO_PEERCRED/SO_PASSCRED porting + allow NULL bytes in the UDS name

Open Someguynamedpie opened this issue 5 years ago • 0 comments

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

Someguynamedpie avatar Mar 31 '19 01:03 Someguynamedpie