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 2016/01/14 20:31:40 UTC

[jira] [Resolved] (THRIFT-3510) Add HttpTaskAsyncHandler implementation

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

Jens Geyer resolved THRIFT-3510.
--------------------------------
       Resolution: Fixed
         Assignee: Adam Connelly
    Fix Version/s: 1.0

Committed.

> Add HttpTaskAsyncHandler implementation
> ---------------------------------------
>
>                 Key: THRIFT-3510
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3510
>             Project: Thrift
>          Issue Type: New Feature
>          Components: C# - Compiler, C# - Library
>            Reporter: Adam Connelly
>            Assignee: Adam Connelly
>            Priority: Minor
>             Fix For: 1.0
>
>
> The THttpHandler doesn't support an async pipeline. This means that it's difficult for service implementations to make async calls. If there was an implementation of HttpTaskAsyncHandler, you could write services using async calls.
> Additionally, if you generate the C# classes with the current async support, you get a single interface with both sync and async methods. This doesn't really make sense on the server side since if you implement a service you end up leaving all the async method unimplemented. It would be useful if there were separate sync and async interfaces to make this a bit tidier.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)