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 2014/04/18 19:51:15 UTC
[jira] [Closed] (THRIFT-2456) THttpClient fails when using async
support outside Silverlight
[ https://issues.apache.org/jira/browse/THRIFT-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer closed THRIFT-2456.
------------------------------
Resolution: Fixed
Fix Version/s: 0.9.2
Committed a slightly modified version employing standard Thrift TTransportExceptions.
> THttpClient fails when using async support outside Silverlight
> --------------------------------------------------------------
>
> Key: THRIFT-2456
> URL: https://issues.apache.org/jira/browse/THRIFT-2456
> Project: Thrift
> Issue Type: Bug
> Components: C# - Library
> Affects Versions: 0.9.1
> Reporter: Adam Connelly
> Assignee: Jens Geyer
> Fix For: 0.9.2
>
>
> THttpClient fails if you are using the standard .NET framework (i.e. not Silverlight), and you have generated your proxies using the async option. The error message is pretty unhelpful:
> "No request has been sent"
> This is caused by the BeginFlush method not being implemented outside Silverlight, which means that the request isn't sent.
> I think two changes should be made:
> * Either make BeginFlush / EndFlush abstract instead of virtual, or throw a NotSupportedException if the base implementation is called so that it's obvious what's going on.
> * Remove the conditional preprocessor directives that exclude the implementations of BeginFlush / EndFlush.
--
This message was sent by Atlassian JIRA
(v6.2#6252)