[
https://issues.apache.org/jira/browse/THRIFT-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14392766#comment-14392766
]
James E. King, III commented on THRIFT-1025:
--------------------------------------------
[~roger.meier] [~jensg] My pull request build failed with a [clang internal
error|https://travis-ci.org/apache/thrift/jobs/56883853] that is unrelated to
my change - the issue is inside c_glib. How can we resolve this?
> C++ ServerSocket should inherit from Socket with the necessary Ctor to listen
> on connections from a specific host (similar to perl library)
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: THRIFT-1025
> URL: https://issues.apache.org/jira/browse/THRIFT-1025
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Environment: any
> Reporter: Valery Kreidenko
> Assignee: Ben Craig
> Attachments: THRIFT-1025.patch
>
>
> Perl library ServerSocket inherits from Socket the ctor ServerSocket->new(
> addr, port) which enables to accept the connections from specified host only
> (for security reasons for instance).
> package Thrift::ServerSocket;
> use Socket qw(IPPROTO_TCP TCP_NODELAY);
> use base qw( Thrift::Socket Thrift::ServerTransport );
> while surprisingly C++ ServerSocket omits inheriting from Socket.
> class TServerSocket : public TServerTransport {
> Regards.
> Valery.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)