Skip to content

Commit af021d7

Browse files
[chore] Release 1.7.1 (#506)
1 parent b18f5b1 commit af021d7

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

History.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11

2+
1.7.1 / 2016-10-20
3+
===================
4+
5+
* [fix] Define "requestsCount" var and "requests" hash unconditionally (#490)
6+
* [perf] Add all properties to the socket in the constructor (#488)
7+
* [chore] Update zuul browser settings (#504)
8+
* [chore] Bump engine.io-parser to 1.3.1 (#505)
9+
* [chore] Use more-specific imports for StealJS compatibility (#467)
10+
211
1.7.0 / 2016-10-05
312
===================
413

engine.io.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ return /******/ (function(modules) { // webpackBootstrap
152152
this.transports = opts.transports || ['polling', 'websocket'];
153153
this.readyState = '';
154154
this.writeBuffer = [];
155+
this.prevBufferLen = 0;
155156
this.policyPort = opts.policyPort || 843;
156157
this.rememberUpgrade = opts.rememberUpgrade || false;
157158
this.binaryType = null;
@@ -180,6 +181,16 @@ return /******/ (function(modules) { // webpackBootstrap
180181
}
181182
}
182183

184+
// set on handshake
185+
this.id = null;
186+
this.upgrades = null;
187+
this.pingInterval = null;
188+
this.pingTimeout = null;
189+
190+
// set on heartbeat
191+
this.pingIntervalTimer = null;
192+
this.pingTimeoutTimer = null;
193+
183194
this.open();
184195
}
185196

@@ -1324,9 +1335,10 @@ return /******/ (function(modules) { // webpackBootstrap
13241335
* emitted.
13251336
*/
13261337

1338+
Request.requestsCount = 0;
1339+
Request.requests = {};
1340+
13271341
if (global.document) {
1328-
Request.requestsCount = 0;
1329-
Request.requests = {};
13301342
if (global.attachEvent) {
13311343
global.attachEvent('onunload', unloadHandler);
13321344
} else if (global.addEventListener) {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "engine.io-client",
33
"description": "Client for the realtime Engine",
44
"license": "MIT",
5-
"version": "1.7.0",
5+
"version": "1.7.1",
66
"homepage": "https://github.com/socketio/engine.io-client",
77
"contributors": [
88
{
@@ -47,7 +47,7 @@
4747
"derequire": "1.2.0",
4848
"eslint-config-standard": "4.4.0",
4949
"eslint-plugin-standard": "1.3.1",
50-
"engine.io": "1.7.0",
50+
"engine.io": "1.7.1",
5151
"expect.js": "0.2.0",
5252
"express": "3.4.8",
5353
"gulp": "3.9.0",

0 commit comments

Comments
 (0)