[ 
https://issues.apache.org/jira/browse/THRIFT-3449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202846#comment-15202846
 ] 

Hudson commented on THRIFT-3449:
--------------------------------

SUCCESS: Integrated in Thrift-precommit #335 (See 
[https://builds.apache.org/job/Thrift-precommit/335/])
THRIFT-3449 TBaseAsyncProcessor fb.responseReady() never called for (nsuke: 
[https://github.com/apache/thrift/commit/400ae6e76e07ec929125c1d78b11541eeb254de2])
* lib/java/src/org/apache/thrift/TBaseAsyncProcessor.java
* compiler/cpp/src/generate/t_java_generator.cc
* lib/java/test/org/apache/thrift/server/ServerTestBase.java


> 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)

Reply via email to