You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2018/06/22 20:47:00 UTC

[jira] [Updated] (THRIFT-4590) running the test client using HTTP transport leads to "CoInitialize not called"

     [ https://issues.apache.org/jira/browse/THRIFT-4590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-4590:
-------------------------------
    Attachment: 0002-THRIFT-4590-running-the-test-client-using-HTTP-trans.patch

> running the test client using HTTP transport leads to "CoInitialize not called"
> -------------------------------------------------------------------------------
>
>                 Key: THRIFT-4590
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4590
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>         Attachments: 0002-THRIFT-4590-running-the-test-client-using-HTTP-trans.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)