Nick LaGrow
17143bde09
Deny upgrade when proxy doesn't support websocket
...
Some proxies - such as nginx and squid - don't support websocket. The client attempting to upgrade its transport caused the engine.io connection to break (see GH-177). THe server now checks within handleRequest to see if the transport has changed without an upgrade request - if this is the case, the upgrade request is denied (defaults to polling) and the connection is maintained
2014-02-08 12:10:47 -08:00
Tony Kovanen
9e9af935c3
Fixed test that didn't work with HTTPS
2014-02-08 22:06:56 +02:00
Guillermo Rauch
6ad57905c4
Merge pull request #611 from poohlty/remove-require-fs
...
Remove require fs in lib/index.js
2014-02-08 11:41:33 -08:00
Guillermo Rauch
6daaa94f7b
Merge pull request #613 from grant/patch-1
...
Update .travis.yml
2014-02-08 11:41:20 -08:00
Guillermo Rauch
9418352d5b
Merge pull request #614 from bmalehorn/zuul_fix
...
fixed zuul redirect bug
2014-02-08 11:39:23 -08:00
Guillermo Rauch
b19bd5570f
Merge pull request #615 from bmalehorn/zuul_update
...
updated zuul to latest version
2014-02-08 11:38:59 -08:00
GK
fc61a37a6d
change index to read build file from client
2014-02-08 11:18:07 -08:00
Tony Kovanen
1e9fbee95d
Fixed setting responseType for XHR2 in Firefox
2014-02-08 21:05:22 +02:00
Naoyuki Kanezawa
78f1fd152f
fix a namespace connection error
2014-02-09 03:19:28 +09:00
Brian Malehorn
a9aa51094e
updated zuul to latest version
2014-02-08 13:13:03 -05:00
Brian Malehorn
01bf1a613b
fixed zuul redirect bug
...
url() has optional parameter loc
2014-02-08 12:53:40 -05:00
Tony Kovanen
d6ca4a20db
Simpler XHR2 feature detection
2014-02-08 19:40:09 +02:00
Grant Timmerman
f2808a6fb9
Update .travis.yml
...
Remove 0.8 from travis.yml in socket.io-client
2014-02-08 09:28:03 -08:00
Tony Kovanen
11bf741f3d
Bugfix to blob encoding
2014-02-08 19:16:58 +02:00
Tony Kovanen
1d3fc839d8
Tests for encoding payloads as blobs
2014-02-08 19:15:40 +02:00
Tony Kovanen
a1322d1b0d
Better feature detection for XHR2
2014-02-08 18:56:55 +02:00
Tony Kovanen
603c39c3cc
style
2014-02-08 05:09:16 +02:00
Tianyu Liu
351b54ceec
Remove require fs in lib/index.js
2014-02-07 17:15:30 -08:00
Tony Kovanen
057d4836cb
BlobBuilder stuff
2014-02-08 03:00:15 +02:00
Tony Kovanen
0c36e48bbc
Supporting sending of blobs. Not completely done yet.
2014-02-08 02:40:50 +02:00
Tony Kovanen
81437e5235
Using after instead of async
2014-02-08 01:42:22 +02:00
Guillermo Rauch
1e84be1270
Merge pull request #14 from HaykoKoryun/patch-1
...
created .npmignore
2014-02-07 15:29:35 -08:00
Guillermo Rauch
bf8761fb9b
Merge pull request #1410 from brishin/test
...
Fix `npm test`
2014-02-07 15:24:45 -08:00
Brian Donghee Shin
3dcba2859c
Fix npm test
2014-02-07 15:23:22 -08:00
Guillermo Rauch
b53edd6e92
Merge pull request #609 from kevin-roark/fix/event-emitter-callback-bug
...
Should check packet.id for non-null, not 0
2014-02-07 15:16:27 -08:00
Kevin Roark
13d34ff0b6
Should check packet.id for non-null, not 0
...
Like the server does!!!
2014-02-07 15:10:32 -08:00
Tony Kovanen
9c4f36e10a
Supporting sending of blobs. Not completely done yet.
2014-02-08 00:33:47 +02:00
Guillermo Rauch
3c58e854da
Merge pull request #246 from gterrono/bump-zuul-version
...
Bumped zuul version to 1.5.2
2014-02-07 14:14:01 -08:00
Greg Terrono
415b17dffe
Bumped zuul version to 1.5.2
2014-02-07 14:09:20 -08:00
Guillermo Rauch
0ec4836de9
Merge branch 'master' of github.com:LearnBoost/socket.io-client
2014-02-07 14:00:42 -08:00
Tony Kovanen
5df182abfb
Dummy support for sending blobs
2014-02-04 09:48:16 +02:00
Tony Kovanen
f59451ee4c
Dummy support for sending blobs
2014-02-04 09:46:36 +02:00
Tony Kovanen
e345a0f9f7
Truly async encoding
2014-02-04 09:05:27 +02:00
Tony Kovanen
13ff119772
Making encoding work with callbacks. Not completely there yet.
2014-02-04 00:04:30 +02:00
Tony Kovanen
d71fde22fd
Making encoding work with callbacks. Not completely there yet.
2014-02-04 00:04:05 +02:00
Tony Kovanen
3ca16b414b
Making encoding work with callbacks. Not completely there yet.
2014-02-04 00:03:40 +02:00
Guillermo Rauch
c73e01485d
Merge pull request #1403 from nkzawa/patch-1
...
middlewares of main namespace should be called first
2014-02-03 14:00:14 -08:00
Naoyuki Kanezawa
a3e1b0658f
middlewares of main namespace should be called first
2014-02-04 04:00:24 +09:00
Guillermo Rauch
aa0527fe54
Merge pull request #216 from mokesmokes/reqfix
...
fix Socket.request for upgraded sockets
2014-02-03 07:25:54 -08:00
Mark Mokryn
25e03c8351
Socket.request a simple property
2014-02-03 17:20:32 +02:00
Guillermo Rauch
3cf6a0949b
Merge pull request #1402 from gdi2290/patch-1
...
update copyright year
2014-02-03 06:52:08 -08:00
Guillermo Rauch
c0ec1af75c
Merge pull request #220 from gdi2290/patch-1
...
update copyright year
2014-02-03 06:52:05 -08:00
Tony Kovanen
740150ae50
Nicer feature detection
2014-02-03 15:48:28 +02:00
Mark Mokryn
3b8d7863b8
Socket.request made a nonwritable Socket property set in constructor
2014-02-03 13:32:59 +02:00
PatrickJS
193f401e79
update copyright year
2014-02-03 02:23:19 -08:00
PatrickJS
a98b8abe97
update copyright year
2014-02-03 02:08:42 -08:00
Tony Kovanen
feec922511
Encoding payloads is now using the same base64 encoding scheme as individual packets
2014-02-03 03:13:41 +02:00
Tony Kovanen
1c1cfc1f9c
Using url parameter for communicating the need for base64 instead of upgrade packet for WebSocket
2014-02-03 02:33:14 +02:00
Tony Kovanen
44159592c7
Using url parameter for communicating the need for base64 instead of upgrade packet for WebSockets
2014-02-03 02:31:48 +02:00
Tony Kovanen
8d6e42f5f3
Failing test for sending blobs
2014-02-03 01:25:32 +02:00