You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Can Celasun (JIRA)" <ji...@apache.org> on 2018/07/31 12:49:00 UTC

[jira] [Comment Edited] (THRIFT-4607) Go - Making concurrent connection resulting EOF

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

Can Celasun edited comment on THRIFT-4607 at 7/31/18 12:48 PM:
---------------------------------------------------------------

Can you reproduce this with latest thrift (0.11)? If you can, please share code that reproduces the problem. You can put it up on e.g Github.


was (Author: calcifer):
Can you reproduce this with latest thrift (0.11)? If you can please share code that reproduces the problem. You can put it up on e.g Github.

> Go - Making concurrent connection resulting EOF
> -----------------------------------------------
>
>                 Key: THRIFT-4607
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4607
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>    Affects Versions: 0.10.0
>            Reporter: Fauzan Ardhana
>            Priority: Minor
>
> When i make concurrent function calls thrift returns error, but when i tried to modified the code to use closed connection it runs fine. I need to use keep-alive connection to make the request efficiently.
> snippet of my code : https://ghostbin.com/paste/ts3oo
> i don't know what went wrong with my code but, the EOF happens when i tried to make 2 services(different headers) and run them concurrently while using keep-alive connection, it is fine when i only use one service.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)