You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aki Sukegawa (JIRA)" <ji...@apache.org> on 2016/03/18 16:35:33 UTC
[jira] [Assigned] (THRIFT-3449) TBaseAsyncProcessor
fb.responseReady() never called for oneway functions
[ https://issues.apache.org/jira/browse/THRIFT-3449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aki Sukegawa reassigned THRIFT-3449:
------------------------------------
Assignee: Aki Sukegawa
> TBaseAsyncProcessor fb.responseReady() never called for oneway functions
> ------------------------------------------------------------------------
>
> Key: THRIFT-3449
> URL: https://issues.apache.org/jira/browse/THRIFT-3449
> Project: Thrift
> Issue Type: Bug
> Components: Java - Library
> Affects Versions: 0.9.3
> Environment: java libthrift-0.9.3
> Reporter: Jan Sileny
> Assignee: Aki Sukegawa
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: responseReadyPatch.patch
>
>
> For regular service functions, fb.responseReady() is called from generated AsyncProcessFunction's sendResponse(...). Precisely in its result handler's AsyncMethodCallback onComplete or onError implementations. Because oneway methods have void result handler's onComplete and onError implementations, responseReady is not called and frame buffer never goes back to reading state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)