You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aleksey Pesternikov (JIRA)" <ji...@apache.org> on 2014/05/10 23:58:28 UTC

[jira] [Commented] (THRIFT-2497) server and client for test/go, also several fixes and improvements

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

Aleksey Pesternikov commented on THRIFT-2497:
---------------------------------------------

Jens,
returning false from Process() causes connection to be dropped. This is not what we want in case of exception thrown (error returned) from the handler.
false should be returned only when it is impossible to continue serving on the same connection - in situations like transport errors.
Actually this bool result is completely redundant since err is returned anyway. I'm planning to remove it.
 

> server and client for test/go, also several fixes and improvements
> ------------------------------------------------------------------
>
>                 Key: THRIFT-2497
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2497
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Go - Compiler, Go - Library
>            Reporter: Aleksey Pesternikov
>            Assignee: Jens Geyer
>            Priority: Minor
>             Fix For: 0.9.2
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)