You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/09/02 22:10:52 UTC
[jira] [Commented] (THRIFT-1481) Unix domain sockets in C++ do not
support the abstract namespace
[ https://issues.apache.org/jira/browse/THRIFT-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756237#comment-13756237 ]
Hudson commented on THRIFT-1481:
--------------------------------
SUCCESS: Integrated in Thrift #883 (See [https://builds.apache.org/job/Thrift/883/])
THRIFT-1481 cpp: Unix domain sockets in C++ do not support the abstract namespace (roger: rev 657b933f28ffdaedb49c5a93dc3e0c2ceeae1807)
* lib/cpp/src/thrift/transport/TSocket.cpp
* lib/cpp/src/thrift/transport/TServerSocket.cpp
> Unix domain sockets in C++ do not support the abstract namespace
> -----------------------------------------------------------------
>
> Key: THRIFT-1481
> URL: https://issues.apache.org/jira/browse/THRIFT-1481
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.8
> Reporter: Asad Saeed
> Assignee: Ben Craig
> Priority: Minor
> Fix For: 0.9.2
>
> Attachments: linux_anon_namespace.patch
>
>
> Linux provides the ability to create a Unix Domain socket in an abstract namespace independent of the filesystem. A abstract namespace is specified by having the sockaddr_un.sun_path start with a NULL character.
> TServerSocket and TSocket both utilize snprintf when writing to the sockaddr_un structure, which stops at the first NULL character. Abstract namespace support can be added by using memcopy instead.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira