Skip to content

Commit

Permalink
End tcp response with newline
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasjones committed May 23, 2014
1 parent 42e93cd commit e1980db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ function startPoolServerTcp(callback){
jsonrpc: "2.0",
error: error ? {code: -1, message: error} : null,
result: result
});
}) + "\n";
socket.write(sendData);
};

Expand All @@ -611,7 +611,7 @@ function startPoolServerTcp(callback){
jsonrpc: "2.0",
method: method,
params: params
});
}) + "\n";
socket.write(sendData);
};

Expand Down Expand Up @@ -751,4 +751,4 @@ function startPoolServerHttp(callback) {
callback(true);
});

}
}

0 comments on commit e1980db

Please sign in to comment.