mirror of
https://github.com/moparisthebest/curl
synced 2024-11-05 00:55:04 -05:00
1d786faee1
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
10 lines
342 B
D
10 lines
342 B
D
Long: abstract-unix-socket
|
|
Arg: <path>
|
|
Help: Connect through an abstract Unix domain socket
|
|
Added: 7.53.0
|
|
Protocols: HTTP
|
|
---
|
|
Connect through an abstract Unix domain socket, instead of using the network.
|
|
Note: netstat shows the path of an abstract socket prefixed with '@', however
|
|
the <path> argument should not have this leading character.
|