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 2014/11/06 23:03:34 UTC

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

    [ https://issues.apache.org/jira/browse/THRIFT-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14201033#comment-14201033 ] 

Hudson commented on THRIFT-2803:
--------------------------------

SUCCESS: Integrated in Thrift #1335 (See [https://builds.apache.org/job/Thrift/1335/])
THRIFT-2803 TCP_DEFER_ACCEPT not supported with domain sockets (jensg: rev a4b72eed2cd0ef4839874a69f76021c0267289f3)
* lib/cpp/src/thrift/transport/TServerSocket.cpp


> 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
>
>         Attachments: THRIFT-2803-TCP_DEFER_ACCEPT-not-supported-with-doma.patch
>
>
> 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}
> Thanks to [~roger.meier] who pointed this out.



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