You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Anthony Molinaro (JIRA)" <ji...@apache.org> on 2010/08/28 07:33:54 UTC
[jira] Updated: (THRIFT-785) Framed transport server problems
[ https://issues.apache.org/jira/browse/THRIFT-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Molinaro updated THRIFT-785:
------------------------------------
Attachment: thrift-erl-framed.patch
This patch make sure that the thrift_framed_transport:read/2 function passes lower level read errors outward. It solves the problem for me. I'll be putting it into production soon.
> Framed transport server problems
> --------------------------------
>
> Key: THRIFT-785
> URL: https://issues.apache.org/jira/browse/THRIFT-785
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Affects Versions: 0.4
> Reporter: Manish Singh
> Assignee: Anthony Molinaro
> Attachments: erlframedtest.erl, erlframedtest.thrift, thrift-erl-framed.patch
>
>
> If I try to call the erlang thirift service associated with the attached files in framed mode from python, it dies with:
> $ gen-py/erlframedtest/FramedTest-remote -h localhost:9999 -f hi
> =ERROR REPORT==== 19-May-2010::15:09:20 ===
> ** Generic server <0.41.0> terminating
> ** Last message in was {read,4}
> ** When Server state == {framed_transport,
> {transport,thrift_socket_transport,
> {data,#Port<0.847>,500}},
> <<>>,[]}
> ** Reason for termination ==
> ** {{badmatch,{error,closed}},
> [{thrift_framed_transport,handle_call,3},
> {gen_server,handle_msg,5},
> {proc_lib,init_p_do_apply,3}]}
> =ERROR REPORT==== 19-May-2010::15:09:20 ===
> {thrift_socket_server,245,
> {child_error,{{badmatch,{error,closed}},
> [{thrift_framed_transport,handle_call,3},
> {gen_server,handle_msg,5},
> {proc_lib,init_p_do_apply,3}]},
> []}}
> This is with erlang R13B04.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.