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

Cocoa client should not schedule streams on main runloop

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Cocoa - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      This happens in TSocketTransport and TSSLSocketTransport.
      It is generally not a good idea to schedule stream event processing on main runloop, and can cause deadlocks.
      Scheduling on current runloop solves the problem.

        Attachments

        1. patch.diff
          2 kB
          Aleksei Shevchenko

          Activity

            People

            • Assignee:
              skeeet Aleksei Shevchenko
              Reporter:
              skeeet Aleksei Shevchenko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: