You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Kino (Jira)" <ji...@apache.org> on 2022/09/17 06:02:00 UTC

[jira] [Created] (THRIFT-5630) Swift TSocketServer not working on Linux

Kino created THRIFT-5630:
----------------------------

             Summary: 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


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)