yujiosaka
b1e1755a7d
disabled XDomainRequest as default and added enablesXDR option to enable it
2014-08-18 07:50:36 +09:00
Tony Kovanen
42b1773713
style and close socket after assert
2014-06-23 19:48:09 +03:00
Tony Kovanen
2aa5c22823
Change constructor check to throw and try-catch
2014-06-23 19:32:35 +03:00
Tony Kovanen
389878b3cb
Rename noJSONP to jsonp (that can be set to false to disable jsonp)
2014-06-23 18:33:48 +03:00
Tony Kovanen
269bdfff23
Possibility to disable JSONP. Emitting an error if JSONP is the only available transport.
2014-06-23 02:04:48 +03:00
Reid Burke
4b40963f27
Upgrade component-emitter to 1.1.2, fix #305
...
Switch from depending on a tarball URL to the published
component-emitter package at its latest version.
Change all references to emitter module to the new
component-emitter name.
2014-06-04 14:52:42 -07:00
Guillermo Rauch
44b35738b8
Merge pull request #270 from j-salazar/noping
...
Don't ping when socket closed by open handler
2014-05-19 14:06:31 -07:00
Julian Salazar
7afd8c8273
Don't ping when socket closed by open handler
2014-05-19 06:23:58 -07:00
Guillermo Rauch
da07eb713b
removing flashsocket, moving to userland
2014-05-17 15:24:51 -07:00
Naoyuki Kanezawa
6def3f56ee
remove Socket#onopen
2014-05-02 15:18:33 +09:00
Guillermo Rauch
118073f2f2
Merge pull request #294 from rase-/fixerrors
...
Error handling fixes
2014-04-17 17:26:37 -07:00
Tony Kovanen
c12f44b5bd
Renamed removeAllListeners to cleanup
2014-04-18 01:25:08 +03:00
Tony Kovanen
c67afb549e
Not emitting an upgrade error when upgrading was in fact successful
2014-04-18 01:17:35 +03:00
Tony Kovanen
f7e7658bac
Fixed bad indent
2014-04-18 01:02:50 +03:00
GK
6329f81b9d
removed all references to util.js
2014-04-17 15:33:36 -04:00
binlain
d3d086699e
Forgot to register close listener
2014-04-15 17:43:41 +02:00
binlain
7f00e951d0
Clean up probing and handle premature transport disconnect
2014-04-15 17:39:17 +02: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
GK
c21b291936
change qs and qsParse methods to encode and decode
2014-04-10 18:23:10 -04:00
Tony Kovanen
382b15c71e
Fix double firing of close event when explicitly closing a socket
2014-04-11 01:06:41 +03:00
GK
85a858bc68
merged with master
2014-03-30 17:26:46 -04:00
GK
3bbb714a13
querystring extracted from util.js into own npm module
2014-03-30 17:19:44 -04:00
Guillermo Rauch
949baef4eb
Merge pull request #277 from nkzawa/patch-1
...
Fix the this object for onlyBinaryUpgrades
2014-03-24 14:20:08 -03:00
Guillermo Rauch
33de820edb
Merge pull request #275 from plievone/ensure-transport-close
...
Ensure transport will be really closed in all cases
2014-03-24 14:17:03 -03:00
Naoyuki Kanezawa
7bf80c643e
fix the this object for onlyBinaryUpgrades
2014-03-23 18:54:46 +09:00
plievone
cbe11eacb7
Socket#onClose(): ensure transport won't stay open.
...
There are rare error cases when transport could stay open in the background
even if socket is closed, so it is better to always call
`this.transport.close()` in Socket#onClose as it is idempotent and
safe to call multiple times.
2014-03-21 14:27:20 +02:00
Guillermo Rauch
b084823008
Merge pull request #266 from get/parsejson_new
...
ParseJSON and parseURI made into their own modules
2014-03-08 19:40:36 -02:00
GK
74fb64e122
fixed package.json merge issues
2014-03-06 19:55:08 -05:00
Tony Kovanen
55f10e68b3
Removed the global dependency
2014-03-07 01:44:16 +02:00
GK
3011d31aa2
made parseJSON its own module, update calls
2014-02-22 18:51:09 -05:00
Guillermo Rauch
0beb956530
Revert "Make timestamping default for sockets"
...
This reverts commit efc5ff99d1 .
2014-02-20 10:54:51 -08:00
Julian Salazar
efc5ff99d1
Make timestamping default for sockets
2014-02-20 01:21:34 -08:00
Tony Kovanen
43721adf2d
Merged current master
2014-02-19 18:35:05 +02:00
Guillermo Rauch
746f4cfa30
Revert "don't override empty opts.port"
...
This reverts commit 1bf90f5aaa .
2014-02-17 14:52:11 -08:00
Julian Salazar
1bf90f5aaa
don't override empty opts.port
2014-02-17 14:38:10 -08:00
Tony Kovanen
d269acd2ab
User can now pass in an onlyBinaryUpgrades option to disable upgrading to a transport that doesn't support binary from one that does to avoid the overhead of base64 encoding
2014-02-16 22:55:23 +02:00
Guillermo Rauch
0a3c521939
Merge pull request #243 from mokesmokes/sslws
...
Enable a direct websocket connection if the previous websocket connection ...
2014-02-15 13:14:50 -08:00
Mark Mokryn
76615fecc4
remember websocket upgrade
2014-02-15 17:48:02 +02:00
Mark Mokryn
facf40ad9b
emit socket upgrade event after upgrade done
2014-02-09 22:12:34 +02:00
GK
de2c561e45
made parseUri its own node module, change parseUri calls and tests
2014-02-09 12:09:57 -08:00
Guillermo Rauch
2b0b281f68
Merge pull request #239 from mokesmokes/closefix
...
fix GH-207
2014-02-09 08:46:32 -08: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
1067ae80d3
WebSocket's support for binary is now checked, and base64 is used when there is no binaryType. If WebSocket doesn't support binary, this is communicated to the server through the upgrade packet.
2014-02-02 14:44:02 +02:00
Tony Kovanen
dc4cab5619
Binary support
2014-02-01 01:52:41 +02:00
Bruce Lee
0df20215b4
fix captcha in comment
2014-01-27 18:01:30 +08:00
Mark Mokryn
365bc471a5
undo removal of onclose for websocket api compattibility
2014-01-26 23:39:03 +02:00
Mark Mokryn
b583fe4a51
fix GH-207
2014-01-26 21:01:38 +02:00
Guillermo Rauch
9ce2dcd08c
style
2014-01-17 10:41:02 -08:00
mokesmokes
c2d547be54
Fix GH-224, remove sockets array
2014-01-08 20:48:49 +02:00