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 2025/04/28 21:44:00 UTC
[jira] [Updated] (THRIFT-4838) add unix domain socket support to Swift TSocketTransport implementation
[ https://issues.apache.org/jira/browse/THRIFT-4838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-4838:
-------------------------------
Summary: add unix domain socket support to Swift TSocketTransport implementation (was: Swift TSocketTransport implementation is missing unix domain socket support)
> add unix domain socket support to Swift TSocketTransport implementation
> ------------------------------------------------------------------------
>
> Key: THRIFT-4838
> URL: https://issues.apache.org/jira/browse/THRIFT-4838
> Project: Thrift
> Issue Type: Bug
> Components: Swift - Library
> Reporter: Kevin Wojniak
> Assignee: Kino
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)