From 97fa4465a3c2f6f41f8ffbb8ac460502336d5860 Mon Sep 17 00:00:00 2001 From: Isaac Wolkerstorfer Date: Wed, 18 Dec 2013 13:08:10 +0100 Subject: [PATCH] Upgrade to latest Thrift, ~0.9.1 --- lib/scribe.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/scribe.js b/lib/scribe.js index 75bdffb..4face26 100644 --- a/lib/scribe.js +++ b/lib/scribe.js @@ -87,7 +87,7 @@ util.inherits(Scribe, events.EventEmitter); Scribe.prototype.open = function(callback) { var self = this; this.opened = true; - this.connection = thrift.createConnection(this.host, this.port); + this.connection = thrift.createConnection(this.host, this.port, {transport: thrift.TFramedTransport}); this.client = thrift.createClient(scribe, this.connection); this.connection.once('error', function(err) { diff --git a/package.json b/package.json index 26d3f02..de5566d 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "url": "git://github.com/Applifier/node-scribe" }, "dependencies": { - "thrift" : "0.7.0" + "thrift": "~0.9.1" }, "author": "Applifier " }