You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Henrique Mendonça (JIRA)" <ji...@apache.org> on 2013/09/09 13:33:52 UTC

[jira] [Closed] (THRIFT-2168) Node.js appears broken (at least, examples don't work as intended)

     [ https://issues.apache.org/jira/browse/THRIFT-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henrique Mendonça closed THRIFT-2168.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.2

Committed. Thanks Randy!

I've also added the examples to the test makefile.
                
> Node.js appears broken (at least, examples don't work as intended)
> ------------------------------------------------------------------
>
>                 Key: THRIFT-2168
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2168
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Compiler, Node.js - Library
>            Reporter: Red Daly
>            Assignee: Randy Abernethy
>              Labels: nodejs
>             Fix For: 0.9.2
>
>         Attachments: thrift-2168-nodejs-generator-fix.patch
>
>
> The Node.js implementation seems to be somewhat broken.
> I execute the example server.js as instructed:
> thrift/lib/nodejs/examples $ NODE_PATH=../lib:../lib/thrift node server.js
> Then I execute the example client.js as instructed:
> thrift/lib/nodejs/examples $ NODE_PATH=../lib:../lib/thrift node client.js
> the server outputs "server stored: 1"
> the client outputs nothing.  Expected output is "client stored: 1".  This indicates that the client is never receiving a response back from the server, or at least the callback is not being fired when the response is received.
> I'm not sure how to debug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira