diff --git a/History.md b/History.md index 49fa91d..e67e929 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,9 @@ +0.9.17 / 2016-04-06 +=================== + + * remove spdy temporarily [@rauchg] + 0.9.16 / 2016-04-01 =================== diff --git a/lib/agent.js b/lib/agent.js index 7b12096..2b55266 100644 --- a/lib/agent.js +++ b/lib/agent.js @@ -1,4 +1,3 @@ -import http2 from 'spdy'; import fetch from 'node-fetch'; /** @@ -20,10 +19,12 @@ export default class Agent { } _initAgent () { - this._agent = http2.createAgent({ + /* + this._agent = https.createAgent({ host: this._host, port: 443 }).once('error', (err) => this._onError(err)); + */ } _onError (err) { @@ -42,7 +43,7 @@ export default class Agent { } const { body } = opts; - opts.agent = this._agent; + // opts.agent = this._agent; if (body && 'object' === typeof body && 'function' !== typeof body.pipe) { opts.headers['Content-Type'] = 'application/json'; @@ -58,6 +59,6 @@ export default class Agent { close () { if (this._debug) console.log('> [debug] closing agent'); - return this._agent.close(); + // return this._agent.close(); } } diff --git a/package.json b/package.json index 4add1f1..3c18774 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "now", - "version": "0.9.16", - "description": "Realtime Deployments for Node.JS apps.", + "version": "0.9.17", + "description": "", + "readme": "", "main": "./build/lib/index", "files": [ "build" @@ -24,7 +25,6 @@ "progress": "1.1.8", "resumer": "0.0.0", "retry": "0.9.0", - "spdy": "3.2.3", "split-array": "1.0.1", "minimist": "1.2.0", "ansi-escapes": "1.3.0",