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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • Delphi - Library
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: