Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unix_socket: add support for abstract unix domain socket #1197

Closed
wants to merge 1 commit into from

Commits on Jan 12, 2017

  1. 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)
    iboukris committed Jan 12, 2017
    Configuration menu
    Copy the full SHA
    57fcd60 View commit details
    Browse the repository at this point in the history