[
https://issues.apache.org/jira/browse/THRIFT-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kino resolved THRIFT-5630.
--------------------------
Fix Version/s: 0.18.0
Resolution: Fixed
Fixed in [https://github.com/apache/thrift/pull/2670
|https://github.com/apache/thrift/pull/2670]
> Swift TSocketServer not working on Linux
> ----------------------------------------
>
> Key: THRIFT-5630
> URL: https://issues.apache.org/jira/browse/THRIFT-5630
> Project: Thrift
> Issue Type: Bug
> Components: Swift - Library
> Reporter: Kino
> Assignee: Kino
> Priority: Major
> Fix For: 0.18.0
>
>
> In the Thrift docker test environment, the Swift library's TSocketServer does
> not work as implemented. This seems to be an issue with `NotificationCenter`
> from `Swift.Foundation`.
> The server adds an observer for `NSFileHandleConnectionAccepted` which seems
> to be triggered properly on macOS however on Linux we never receive the
> notification, so we will never start the processing queue and the server and
> client will never talk to each other.
> This can be reproduced by running the tutorial/swift project in the Thrift
> docker test environment.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)