[
https://issues.apache.org/jira/browse/THRIFT-3449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Sileny updated THRIFT-3449:
-------------------------------
Attachment: responseReadyPatch.patch
Patch for libthrift 0.9.3 TBaseAsyncProcessor.
> 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
> Labels: newbie, patch
> Fix For: 0.9.3
>
> 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)