You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/11/06 20:02:33 UTC

[jira] [Created] (THRIFT-2803) TCP_DEFER_ACCEPT not supported with domain sockets

Jens Geyer created THRIFT-2803:
----------------------------------

             Summary: TCP_DEFER_ACCEPT not supported with domain sockets
                 Key: THRIFT-2803
                 URL: https://issues.apache.org/jira/browse/THRIFT-2803
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Library
    Affects Versions: 0.9.2
            Reporter: Jens Geyer
            Assignee: Jens Geyer
             Fix For: 0.9.3


After applying the fix from THRIFT-2792, the code does no longer work with domain sockets:

{code}
$ ./TestServer --domain-socket=/tmp/ThriftTest.thrift 
Starting "simple" server (buffered/binary) listen on: /tmp/ThriftTest.thrift
Thrift: Wed Nov  5 21:54:07 2014 TServerSocket::listen() setsockopt() TCP_DEFER_ACCEPT Operation not supported
terminate called after throwing an instance of 'apache::thrift::transport::TTransportException'
  what():  Could not set TCP_DEFER_ACCEPT: Operation not supported
{code}




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