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 21:18:35 UTC
[jira] [Resolved] (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:all-tabpanel ]
Jens Geyer resolved THRIFT-2803.
--------------------------------
Resolution: Fixed
Committed
> 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)