You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Caner Burak Ongay (Jira)" <ji...@apache.org> on 2020/03/02 20:27:00 UTC

[jira] [Created] (THRIFT-5129) Swift TSocketTransport cannot be used to connect to client

Caner Burak Ongay created THRIFT-5129:
-----------------------------------------

             Summary: Swift TSocketTransport cannot be used to connect to client
                 Key: THRIFT-5129
                 URL: https://issues.apache.org/jira/browse/THRIFT-5129
             Project: Thrift
          Issue Type: Bug
          Components: Swift - Library
    Affects Versions: 0.14.0
            Reporter: Caner Burak Ongay


TLDR; Swift library cannot be used to connect to a client using TSocketTransport with present code.


In TSocketTransport init, socket IP is not set for non-linux systems, so TSocketTransport cannot be used to connect clients.

It is set as: `in_addr(s_addr: in_addr_t(0))` in line 162.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)