Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2168

Node.js appears broken (at least, examples don't work as intended)

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              codesf Randy Abernethy
              gonzojive Red Daly
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: