thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fauzan Ardhana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4607) Go - Making concurrent connection resulting EOF
Date Fri, 10 Aug 2018 00:01:00 GMT

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

Fauzan Ardhana commented on THRIFT-4607:
----------------------------------------

[~calcifer] have you found the solution yet? I still don't know why this problem is occurring
to be honest

> 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.11.0
>            Reporter: Fauzan Ardhana
>            Priority: Major
>
> 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)

Mime
View raw message