Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
unix_socket: add support for abstract unix domain socket #1197
In addition to unix domain sockets, Linux also supports an
In order to support it, add new CURLOPT_ABSTRACT_UNIX_SOCKET
On non-supporting platforms, the abstract address will be
Also add new --abstract-unix-socket tool parameter.
Reported-by: Chungtsun Li (typeless)
referenced this pull request
Jan 8, 2017
Can you modify this to use url-escaped paths (and make this encoding requirement very clear in the docs)? That will correctly handle paths containing NUL bytes.
(As for alternatives:
@Lekensteyn that was my initial intention (see comments in #1061), however it got complicated in matter of design, usage and implementation.