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

running the test client using HTTP transport leads to "CoInitialize not called"

    XMLWordPrintableJSON

    Details

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

      Description

      Trying to use the test client with HTTP transport ends in an error that the COM lbraries were not properly intialized (the Delphi HTTP client uses MSXML).

      Furthermore, since there are a lot of OS resources in Windows that are thread-sensitive, the whole protocol and transport stack setup should be executed inside the test threads, instead of trying to executing that part in theĀ UI thread.

      The latter also eliminates the need to call Synchronize to free the transport instance in the creating UI thread.

        Attachments

          Activity

            People

            • Assignee:
              jensg Jens Geyer
              Reporter:
              jensg Jens Geyer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: