Commit Graph

662 Commits

Author SHA1 Message Date
Nathan Rajlich
af026a20b2 websocket: remove the "bufferedAmount" checking logic
This code was buggy to begin with, and actually the underlying
technique being used was non-deterministic and wouldn't work in practice
anyways.

The WebSocket client API kinda sucks in this regard, since it's virtually
impossible to implement proper ACKs using the WebSocket API by itself.
2013-08-30 15:46:27 -07:00
Nathan Rajlich
42b8547b18 package: bump ws to 0.4.30 2013-08-30 15:46:00 -07:00
Guillermo Rauch
7d93110e7a Release 0.7.6 2013-08-30 14:26:36 -07:00
Guillermo Rauch
f2b2af65f3 package: revert ws 2013-08-30 14:26:19 -07:00
Guillermo Rauch
fffb468f0d Release 0.7.5 2013-08-30 14:11:46 -07:00
Guillermo Rauch
9d30514a57 package: bump ws to 0.4.30 2013-08-30 14:09:56 -07:00
Guillermo Rauch
5fc4eb9642 Merge pull request #190 from timoxley/master
Force timestampRequests for the Chrome Frame.
2013-08-29 09:46:31 -07:00
Nathan Rajlich
7f70fa2928 pin "component/has-cors" to v1.0.2
Now "has-cors" pins "global" to v2.0.1 as well (should fix v0.6.x)
2013-08-27 12:40:39 -07:00
Nathan Rajlich
e58be1a3b5 .travis.yml: start testing v0.6 once again
Now that the `package.json` is no longer using the "<user>/<repo>"
syntax, this should be fine once again.
2013-08-27 12:23:17 -07:00
Nathan Rajlich
d8242fa9a5 package: pin "xmlhttprequest" to LearnBoost/node-XMLHttpRequest@0f36d0b5eb 2013-08-27 12:22:14 -07:00
Nathan Rajlich
48ba84528c pin "component/has-cors" to v1.0.1
/cc @shtylman
2013-08-27 12:20:23 -07:00
Nathan Rajlich
1316b05a7e pin "component/global" to v2.0.1
/cc @shtylman
2013-08-27 12:18:39 -07:00
Tim
967cb09a6b Force timestampRequests for Chromeframe. 2013-08-27 15:33:29 +10:00
Guillermo Rauch
70a5ecd370 test: temporarily disable breaking tests after ws regression 2013-08-25 14:32:01 -07:00
Guillermo Rauch
67339a5406 Release 0.7.4 2013-08-25 14:14:42 -07:00
Guillermo Rauch
9295638c71 package: rolling back to ws 0.4.25 due to disconnection bug
for moar info:
https://github.com/einaros/ws/issues/230
2013-08-25 14:13:18 -07:00
Guillermo Rauch
beb22bde17 Release 0.7.3 2013-08-23 15:47:15 -07:00
Guillermo Rauch
9cda091f2c Release 0.7.2 2013-08-23 15:40:18 -07:00
Guillermo Rauch
d46855924a Merge pull request #187 from LearnBoost/fix/client-side-websocket-transport-again
transports: fix WebSocket transport in the web browser
2013-08-23 15:39:33 -07:00
Nathan Rajlich
50684ff362 transports: fix WebSocket transport in the web browser
For realz this time...
2013-08-23 15:38:25 -07:00
Guillermo Rauch
c844346300 Release 0.7.1 2013-08-23 14:44:46 -07:00
Guillermo Rauch
6fc9d13374 Merge pull request #186 from LearnBoost/fix/client-side-websocket-fail
transports: fix WebSocket transport in the web browser
2013-08-23 14:44:02 -07:00
Nathan Rajlich
af55d53b39 transports: fix WebSocket transport in the web browser 2013-08-23 14:43:00 -07:00
Nathan Rajlich
18e9282de2 package: upgrade "ws" to v0.4.29 2013-08-23 13:31:59 -07:00
Guillermo Rauch
ed89261524 Release 0.7.0 2013-08-23 10:33:38 -07:00
Guillermo Rauch
5086987881 Merge pull request #185 from LearnBoost/add/httpAgent-support
Add `http.Agent` support
2013-08-22 23:20:36 -07:00
Nathan Rajlich
8b72679885 README: document agent option 2013-08-22 22:16:51 -07:00
Nathan Rajlich
fe935edf97 socket: pass through the agent option to the Transport 2013-08-22 22:14:56 -07:00
Nathan Rajlich
43414294dd use updated component/global API 2013-08-22 21:46:49 -07:00
Guillermo Rauch
05884f1344 Merge pull request #173 from jbowes/ie8-emitter
Update emitter dep to 1.0.1
2013-08-22 21:06:41 -07:00
Guillermo Rauch
af6d5d3663 Merge pull request #184 from repoify/add/repository
Add repository field to readme
2013-08-22 21:04:05 -07:00
Nathan Rajlich
7fb5612e27 test: add agent option tests for WebSocket and XMLHttpRequest backends
The `agent` option is only relevant for Node.js...
2013-08-22 18:00:02 -07:00
Nathan Rajlich
d2b87ba73a package: add "scripts.test" field, for Travic-CI 2013-08-22 17:20:12 -07:00
Nathan Rajlich
2c1870a77d transports: pass the options to the util.request() function
Probably not strictly necessary in this case...

In fact, I can't seem to find this `poller()` function being used anywhere
in the codebase in the first place! It only seems to be invoked in the tests...
2013-08-22 17:17:55 -07:00
Nathan Rajlich
3c1f28c6cc polling-xhr: pass the agent option to the XMLHttpRequest constructor 2013-08-22 17:16:25 -07:00
Nathan Rajlich
a9846e549f util: add jsdoc comment 2013-08-22 17:15:56 -07:00
Nathan Rajlich
a19e3ab1af util: make the request() helper accept an "options" object 2013-08-22 17:15:02 -07:00
Nathan Rajlich
863610f50e package: point "xmlhttprequest" to our LearnBoost fork
Which currently includes support for the `agent` option for passing a custom
`http.Agent`.
2013-08-22 17:06:39 -07:00
Nathan Rajlich
e27cba4472 package: specify a newer version of "ws" that includes agent support 2013-08-22 17:05:22 -07:00
Nathan Rajlich
62b647186d websockets: pass the agent option to the WebSocket constructor 2013-08-22 17:04:00 -07:00
Nathan Rajlich
018d7cb301 transport: set the agent field, defaults to false 2013-08-22 14:33:19 -07:00
Nathan Rajlich
edc35fef94 .travis.yml: stop testing v0.6, start testing v0.10 2013-08-22 14:32:46 -07:00
Nathan Rajlich
164f71085c use "component/has-cors" 2013-08-22 14:16:26 -07:00
Nathan Rajlich
3f957b844c transport: fix whitespace 2013-08-22 13:38:21 -07:00
Nathan Rajlich
732180a082 util: use "component/global" 2013-08-22 13:37:54 -07:00
Nathan Rajlich
5ee23e8e41 use "component/global" 2013-08-22 12:01:28 -07:00
Nathan Rajlich
d0f7549d07 util: more bullet-proof global() function
Somebody could easily add a fake global `window` variable in node, and things
would have been thrown off before. With this logic, the *real* "global" is
always returned.
2013-08-22 11:24:08 -07:00
Forbes Lindesay
074af621d1 add repository field to readme 2013-08-21 10:00:29 -07:00
Guillermo Rauch
6eed7c9444 Merge pull request #181 from kkoopa/depupdates
Updated dependencies to support Node 0.11
2013-08-16 14:25:38 -07:00
King Koopa
0dccdcb4a7 Another correction. 2013-08-16 22:52:05 +03:00