You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2015/10/11 01:02:05 UTC

[jira] [Resolved] (THRIFT-3371) Abstract namespace Unix domain sockets broken in C++

     [ https://issues.apache.org/jira/browse/THRIFT-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier resolved THRIFT-3371.
---------------------------------
    Resolution: Fixed
      Assignee: Roger Meier

> Abstract namespace Unix domain sockets broken in C++
> ----------------------------------------------------
>
>                 Key: THRIFT-3371
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3371
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>         Environment: Linux
>            Reporter: Pavlo Penenko
>            Assignee: Roger Meier
>
> According to http://man7.org/linux/man-pages/man7/unix.7.html :
>           The socket's address in this namespace is given by the
>           additional bytes in sun_path that are covered by the specified
>           length of the address structure.  (Null bytes in the name have no
>           special significance.)
> This used to work after the THRIFT-1481 change because the structure was 0-initialized but was probably broken later in 3e50a9a1d01950f356242aaab0cbf5fae778b81c
> I have an abstract namespace unit test and a fix coming up on GitHub.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)