Kevin Wojniak created THRIFT-4838:
-------------------------------------

             Summary: Swift TSocketTransport implementation is missing unix 
domain socket support
                 Key: THRIFT-4838
                 URL: https://issues.apache.org/jira/browse/THRIFT-4838
             Project: Thrift
          Issue Type: Bug
          Components: Swift - Library
            Reporter: Kevin Wojniak


TSocketTransport in Objective-C supports initWithPath: for unix domain sockets:
[https://github.com/apache/thrift/blob/f3ec277e7e2c147342831ecec590bc2f71b07761/lib/cocoa/src/transport/TSocketTransport.m#L82]

However since the Objective-C implementation has been removed in 0.13, the 
Swift version does not implement this:
https://github.com/apache/thrift/blob/master/lib/swift/Sources/TSocketTransport.swift

Before this is done I think TCFSocketTransport should be moved to its own file. 
This would avoid extra #if logic to prevent Linux compiling, and simplify the 
code.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to