Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5630

Swift TSocketServer not working on Linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.18.0
    • Swift - Library
    • None

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

              kinoroy Kino
              kinoroy Kino
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: