Commit Graph

7693 Commits

Author SHA1 Message Date
Guillermo Rauch
927904067c package: bump engine.io-parser 2014-04-13 12:06:11 -07:00
Guillermo Rauch
d477098b39 package: bump engine.io-parser 2014-04-13 12:05:59 -07:00
Guillermo Rauch
2d6c0000f2 Release 1.0.4 2014-04-13 12:05:48 -07:00
Guillermo Rauch
961f33cb77 Merge pull request #288 from lpinca/fix/polling-jsonp-cleanup
polling-jsonp: prevent spurious errors from being emitted when the window is unloaded
2014-04-13 11:06:33 -07:00
Luigi Pinca
3fcc9fb438 polling-jsonp: prevent spurious errors from being emitted when the window is unloaded 2014-04-13 10:47:58 +02:00
Guillermo Rauch
d8b3310759 README: more tweaks (thanks @mokesmokes) 2014-04-12 11:42:09 -07:00
Guillermo Rauch
3f9f9028cc Merge pull request #285 from lpinca/fix/comment
polling-xhr: fix a comment and remove unneeded `document` reference
2014-04-12 11:40:44 -07:00
Luigi Pinca
a3f840504f polling-xhr: fix a comment and remove unneeded document reference 2014-04-12 15:42:08 +02:00
Tony Kovanen
f830899e39 Added backwards compatible settability of engine.io maxHttpBufferSize
Updated readme
2014-04-12 12:02:52 +03:00
GK
1a43bc9346 enforce cache busting 2014-04-11 21:43:11 -04:00
GK
f3d9f2bcfb remove util.js 2014-04-11 20:15:20 -04:00
GK
5a3d15581f Merge branch 'master' into removingutil 2014-04-11 20:11:26 -04:00
GK
8fc0f34e35 put UA detection inline where used, remove util.js 2014-04-11 20:08:48 -04:00
GK
5d3ec15c95 remove on, load, replace keys and inherits with modules 2014-04-11 19:45:46 -04:00
Guillermo Rauch
ca8a435d01 Merge pull request #246 from rase-/fix/jsonp-tests
Fix tests
2014-04-11 11:09:51 -07:00
Tony Kovanen
83caa815cd Removed an old test that checked the ws api works (which is now removed) and fixed a global leak in JSONP tests 2014-04-11 21:09:24 +03:00
Guillermo Rauch
e86b9f09f6 Merge pull request #656 from kevin-roark/fix/query-auth
Allows user-level query string parameters to be in socket.request
2014-04-11 10:57:19 -07:00
Guillermo Rauch
3444f017bc Merge pull request #1492 from kevin-roark/add/query-test
Added a test to check access to client query params
2014-04-11 10:57:04 -07:00
Kevin Roark
0588dc0fc4 Added a test to check access to client query params
It fails with the current upstream client! There is a pending PR to
make this test pass though.
2014-04-11 13:19:19 -04:00
Guillermo Rauch
57425ab1dd Merge pull request #1485 from rase-/add/origins
Added support for setting allowed origins
2014-04-11 09:46:37 -07:00
Guillermo Rauch
32db7c46c0 tweaks 2014-04-11 09:45:52 -07:00
Guillermo Rauch
03228046da README: fix node.js example 2014-04-11 09:44:07 -07:00
Tony Kovanen
463d7a16a1 Moved the origins checking callback outside the origins getter/setter function. 2014-04-11 19:39:10 +03:00
Guillermo Rauch
dbc814e3fd cleanup 2014-04-11 09:34:44 -07:00
Guillermo Rauch
d527099265 dropping illusory websocket parity 2014-04-11 09:33:14 -07:00
Guillermo Rauch
6fb3d800d9 Merge pull request #280 from get/parseqs
querystring turned into module, removed from util.js
2014-04-11 09:14:09 -07:00
Guillermo Rauch
076b3e4b84 Merge pull request #284 from rase-/fix/tests
Fix double firing of close event when explicitly closing a socket
2014-04-11 08:50:50 -07:00
Guillermo Rauch
d30cb2b27b Merge pull request #286 from rase-/fix/ie
JSONP and test fixes causing fails in IE
2014-04-11 08:45:59 -07:00
Tony Kovanen
449bb12572 Ignoring test for closing an incorrect connection for situations leading to JSONP polling 2014-04-11 16:59:23 +03:00
Tony Kovanen
aad85cb2bd JSONP and test fixes for fails in IE 2014-04-11 15:39:14 +03:00
Guillermo Rauch
8ac2dbdc89 polling-xhr: fix by @3rd-eden 2014-04-10 15:41:40 -07:00
Tony Kovanen
5d74847123 Updated README to include origins 2014-04-11 01:29:37 +03:00
Guillermo Rauch
ddf29dff03 Merge pull request #243 from rase-/add/origin-callback
Origins support
2014-04-10 15:24:05 -07:00
Tony Kovanen
5b7f0cffb1 Updated README to include allowRequest callback 2014-04-11 01:23:42 +03:00
GK
c21b291936 change qs and qsParse methods to encode and decode 2014-04-10 18:23:10 -04:00
Tony Kovanen
802f130080 Made the request verification process async 2014-04-11 01:17:57 +03:00
Tony Kovanen
db36d031bc Added support for giving a function to engine.io to decide whether a request should be allowed or not when verifying. This is used by socket.io to check for allowed origins. 2014-04-11 01:11:32 +03:00
Tony Kovanen
382b15c71e Fix double firing of close event when explicitly closing a socket 2014-04-11 01:06:41 +03:00
Guillermo Rauch
18ae1adec6 Merge pull request #273 from lpinca/fix/polling-timestamp
polling: ensure that the timestamp used for cache busting is unique
2014-04-10 15:04:53 -07:00
Guillermo Rauch
51d5ba0165 Merge pull request #283 from lpinca/fix/polling-xhr-cleanup
polling-xhr: abort the request when the window is unloaded
2014-04-10 15:01:21 -07:00
Guillermo Rauch
ac12f7222c Merge pull request #281 from 3rd-Eden/master
[fix] new XMLHttpRequest always returns an object
2014-04-10 14:58:11 -07:00
Kevin Roark
99bfc07b9d Allows user-level query string parameters to be in socket.request
Uses the full url string rather than parsed.href;

Also relies on a PR in engine.io
2014-04-10 16:26:45 -04:00
Kevin Roark
f8b4d87331 added test that server and client using same protocol 2014-04-10 14:45:32 -04:00
Tony Kovanen
e9928b2b1d Switched to async allowRequest callback in engine.io for setting the allowed origins 2014-04-10 21:02:20 +03:00
Guillermo Rauch
60c8596a51 Merge pull request #12 from nkzawa/patch-0
Fix encodePayloadAsBinary method encodes packets to base64
2014-04-10 10:42:14 -07:00
Guillermo Rauch
ee17598b36 fix copyright 2014-04-10 07:45:45 -07:00
Guillermo Rauch
c597bac0c5 package: bump engine.io-parser to 1.0.3 2014-04-10 06:06:48 -07:00
Guillermo Rauch
af872a516f package: bump engine.io-parser to 1.0.3 2014-04-10 06:06:31 -07:00
Guillermo Rauch
c4a35bc536 Release 1.0.3 2014-04-10 06:06:08 -07:00
Guillermo Rauch
0743f325b9 Merge pull request #241 from contra/master
use _query instead of query, closes #203
2014-04-09 15:02:00 -07:00