You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/03 14:20:00 UTC

[jira] [Commented] (THRIFT-4285) Pull generated send/recv into library to allow behaviour to be customised

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

ASF GitHub Bot commented on THRIFT-4285:
----------------------------------------

Github user jeking3 commented on a diff in the pull request:

    https://github.com/apache/thrift/pull/1382#discussion_r148793005
  
    --- Diff: build/docker/ubuntu-trusty/Dockerfile ---
    @@ -217,6 +217,62 @@ RUN rm -rf /var/cache/apt/* && \
         rm -rf /tmp/* && \
         rm -rf /var/tmp/*
     
    +# Ruby
    --- End diff --
    
    This change looks incorrect.  It duplicates other parts of the file.


> Pull generated send/recv into library to allow behaviour to be customised
> -------------------------------------------------------------------------
>
>                 Key: THRIFT-4285
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4285
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Go - Compiler, Go - Library
>            Reporter: Chris Bannister
>            Assignee: Chris Bannister
>            Priority: Major
>         Attachments: 0001-go-pull-generated-send-recv-into-lib-v6.patch, 0001-go-pull-generated-send-recv-into-lib-v7.patch
>
>
> Currently it is difficult to change how thrift writes messages onto the transport because they are in the generated code. Instead the generated send/recv methods should be in the library. This will greatly simplify the client code and remove many duplicate methods whilst allowing users more flexibility to implement connection pools and other features such as THeader.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)