diff --git a/History.md b/History.md index e56b8b0f7f..35162e1b01 100644 --- a/History.md +++ b/History.md @@ -2,8 +2,6 @@ ## v1.5, TBD -* Node has been upgraded to version 4.8.3. - * The `meteor-base` package implies a new `dynamic-import` package, which provides runtime support for [the proposed ECMAScript dynamic `import(...)` syntax](https://github.com/tc39/proposal-dynamic-import), @@ -95,6 +93,14 @@ considered non-portable only if it contained any `.node` binary modules. [Issue #8225](https://github.com/meteor/meteor/issues/8225) +## v1.4.4.3, 2017-05-22 + +* Node has been upgraded to version 4.8.3. + +* A bug in checking body lengths of HTTP responses that was affecting + Galaxy deploys has been fixed. + [PR #8709](https://github.com/meteor/meteor/pull/8709). + ## v1.4.4.2, 2017-05-02 * Node has been upgraded to version 4.8.2. diff --git a/scripts/admin/meteor-release-official.json b/scripts/admin/meteor-release-official.json index 1e5f97cce6..d1e963fd87 100644 --- a/scripts/admin/meteor-release-official.json +++ b/scripts/admin/meteor-release-official.json @@ -1,7 +1,8 @@ { "track": "METEOR", - "version": "1.4.4.2", + "version": "1.4.4.3", "recommended": false, "official": true, + "patchFrom": ["1.4.4.2"], "description": "The Official Meteor Distribution" } diff --git a/tools/utils/http-helpers.js b/tools/utils/http-helpers.js index ac40002bd7..1f608dd042 100644 --- a/tools/utils/http-helpers.js +++ b/tools/utils/http-helpers.js @@ -308,7 +308,10 @@ _.extend(exports, { Console.debug("Doing HTTP request: ", options.method || 'GET', options.url); var request = require('request'); var req = request(options, function (error, response, body) { - if (! error && response && body) { + if (! error && + response && + (typeof body === "string" || + Buffer.isBuffer(body))) { const contentLength = Number(response.headers["content-length"]); const actualLength = Buffer.byteLength(body);