You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Randy Abernethy (JIRA)" <ji...@apache.org> on 2014/05/13 18:35:15 UTC
[jira] [Resolved] (THRIFT-2529) TBufferedTransport split Tcp data
bug in nodeJs
[ https://issues.apache.org/jira/browse/THRIFT-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Randy Abernethy resolved THRIFT-2529.
-------------------------------------
Resolution: Duplicate
Fix Version/s: 0.9.2
> 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
> Fix For: 0.9.2
>
>
> 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)