You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "my_program (JIRA)" <ji...@apache.org> on 2014/05/13 10:50:14 UTC

[jira] [Created] (THRIFT-2529) TBufferedTransport split Tcp data bug in nodeJs

my_program created THRIFT-2529:
----------------------------------

             Summary: TBufferedTransport split  Tcp data bug in nodeJs
                 Key: THRIFT-2529
                 URL: https://issues.apache.org/jira/browse/THRIFT-2529
             Project: Thrift
          Issue Type: Bug
         Environment: centos  nodeJsv0.10.24  thrift0.9.1 
            Reporter: my_program


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! 



--
This message was sent by Atlassian JIRA
(v6.2#6252)