Compare commits

...

9 Commits

Author SHA1 Message Date
Guillermo Rauch
c79e787671 test: better timeout for stress test 2015-07-14 19:58:42 -07:00
Guillermo Rauch
3e4061bfef Release 1.3.6 2015-07-14 17:59:50 -07:00
Guillermo Rauch
4c1d691fe5 package: bump engine.io to fix build on windows 2015-07-09 09:28:43 -07:00
Guillermo Rauch
342faf2197 Release 1.3.5 2015-03-03 10:50:10 -08:00
Guillermo Rauch
12c6ee132d improve test 2015-03-03 10:34:56 -08:00
Guillermo Rauch
c9d909c993 package: bump socket.io-parser 2015-03-03 10:34:40 -08:00
Guillermo Rauch
125ab51338 test: added test for parser breakage 2015-03-03 10:08:26 -08:00
Guillermo Rauch
1b2d902f33 Release 1.3.4 2015-02-14 10:57:50 -08:00
Guillermo Rauch
9536437907 package: bump socket.io-client 2015-02-14 10:55:15 -08:00
3 changed files with 37 additions and 4 deletions

View File

@@ -1,4 +1,19 @@
1.3.6 / 2015-07-14
==================
* package: bump `engine.io` to fix build on windows
1.3.5 / 2015-03-03
==================
* package: bump `socket.io-parser`
1.3.4 / 2015-02-14
==================
* package: bump `socket.io-client`
1.3.3 / 2015-02-03
==================

View File

@@ -1,6 +1,6 @@
{
"name": "socket.io",
"version": "1.3.3",
"version": "1.3.6",
"description": "node.js realtime framework server",
"keywords": [
"realtime",
@@ -19,9 +19,9 @@
"test": "mocha --reporter dot --slow 200ms --bail"
},
"dependencies": {
"engine.io": "1.5.1",
"socket.io-parser": "2.2.3",
"socket.io-client": "1.3.3",
"engine.io": "1.5.2",
"socket.io-parser": "2.2.4",
"socket.io-client": "1.3.6",
"socket.io-adapter": "0.3.1",
"has-binary-data": "0.1.3",
"debug": "2.1.0"

View File

@@ -1279,6 +1279,7 @@ describe('socket.io', function(){
});
it('should handle very large binary data', function(done){
this.timeout(30000);
var srv = http();
var sio = io(srv);
var received = 0;
@@ -1363,6 +1364,23 @@ describe('socket.io', function(){
});
});
});
it('should handle empty binary packet', function(done){
var srv = http();
var sio = io(srv);
srv.listen(function(){
var socket = client(srv);
sio.on('connection', function(s){
s.once('error', function(err){
expect(err.message).to.match(/Illegal attachments/);
done();
});
s.conn.on('upgrade', function(){
socket.io.engine.write('5');
});
});
});
});
});
describe('messaging many', function(){