curl-curl/include/curl
Isaac Boukris 1d786faee1 unix_socket: add support for abstract unix domain socket
In addition to unix domain sockets, Linux also supports an
abstract namespace which is independent of the filesystem.

In order to support it, add new CURLOPT_ABSTRACT_UNIX_SOCKET
option which uses the same storage as CURLOPT_UNIX_SOCKET_PATH
internally, along with a flag to specify abstract socket.

On non-supporting platforms, the abstract address will be
interpreted as an empty string and fail gracefully.

Also add new --abstract-unix-socket tool parameter.

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reported-by: Chungtsun Li (typeless)
Reviewed-by: Daniel Stenberg
Reviewed-by: Peter Wu
Closes #1197
Fixes #1061
2017-01-13 16:25:20 +01:00
..
.gitignore gitignore: Sort for readability 2015-08-18 01:03:05 -04:00
curl.h unix_socket: add support for abstract unix domain socket 2017-01-13 16:25:20 +01:00
curlbuild.h.cmake URLs: Change more haxx.se URLs from http: to https: 2016-02-03 01:45:21 +01:00
curlbuild.h.dist curlbuild.h.dist: check __LP64__ as well to fix MIPS build 2016-05-18 14:10:36 +02:00
curlbuild.h.in URLs: Change more haxx.se URLs from http: to https: 2016-02-03 01:45:21 +01:00
curlrules.h URLs: Change more haxx.se URLs from http: to https: 2016-02-03 01:45:21 +01:00
curlver.h bump: toward next release 2016-12-23 23:47:33 +01:00
easy.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
Makefile.am URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
mprintf.h curl/mprintf.h: remove support for _MPRINTF_REPLACE 2016-04-01 10:46:36 +02:00
multi.h include: revert 9adf3c4 and make public types void * again 2016-07-31 22:59:22 +02:00
stdcheaders.h checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
typecheck-gcc.h unix_socket: add support for abstract unix domain socket 2017-01-13 16:25:20 +01:00