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

TBufferedTransport split Tcp data bug in nodeJs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 0.9.2
    • None
    • None
    • centos nodeJsv0.10.24 thrift0.9.1

    Description

      when i use TBufferedTransport in client and server, the problem is:
      1)my thrift file is :namespace js com.thrift
      struct User {
      1: i32 uid,
      2: string name,
      3: i16 age,
      4: string desc
      }
      service UserService {
      string add(1: User user)
      }
      2) client:
      I execute add() method 3 times, but response is only 1 times.
      for example:
      client.add(user, function(err, response) {
      console.log("response-1:", response);
      });
      client.add(user, function(err, response) {
      console.log("response-2:", response);
      });
      client.add(user, function(err, response) {
      console.log("response-3:", response);
      });

      Please help me to solve this problem!

      Attachments

        Activity

          People

            Unassigned Unassigned
            my_program my_program
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: