Commit Graph

862 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
da0382a435 handle udp send errors
fixes #71

"Port should be > 0 and < 65536"
2015-05-01 14:20:53 -07:00
Feross Aboukhadijeh
1ec4eaa273 style 2015-05-01 14:17:11 -07:00
Feross Aboukhadijeh
1d7912142b 3.4.8 2015-04-30 21:00:54 -07:00
Feross Aboukhadijeh
d705be775e generate 5 offers in the browser, not 50 2015-04-30 21:00:14 -07:00
Feross Aboukhadijeh
6c1ce82439 3.4.7 2015-04-23 23:27:46 -07:00
Feross Aboukhadijeh
ee3ea92c47 fix webrtc support detection in browser 2015-04-23 23:27:12 -07:00
Feross Aboukhadijeh
44319cfa11 3.4.6 2015-04-23 22:49:19 -07:00
Feross Aboukhadijeh
814b167e8a bittorrent-tracker/client should work if wrtc fails to install 2015-04-23 22:48:39 -07:00
Feross Aboukhadijeh
427e0f4305 3.4.5 2015-04-23 21:16:16 -07:00
Feross Aboukhadijeh
e0afafc776 don't return empty wrtc object in browser 2015-04-23 21:15:40 -07:00
Feross Aboukhadijeh
19d10c7804 3.4.4 2015-04-20 20:02:36 -07:00
Feross Aboukhadijeh
f1cc540e79 Fix negative leecher count issue
Fixes #65
2015-04-20 20:02:05 -07:00
Feross Aboukhadijeh
90c2a1a6e1 3.4.3 2015-04-20 16:39:48 -07:00
Feross Aboukhadijeh
a5d0975dfa Do not crash when wrtc dep is missing 2015-04-20 16:38:59 -07:00
Feross Aboukhadijeh
e2d4e8cebf 3.4.2 2015-04-11 12:03:29 +12:00
Feross Aboukhadijeh
f302bee0bb simple-websocket@2 2015-04-11 11:58:21 +12:00
Feross Aboukhadijeh
0a3c8962a4 3.4.1 2015-04-10 03:40:11 +12:00
Feross Aboukhadijeh
de0007b678 tape@4 2015-04-10 03:39:32 +12:00
Feross Aboukhadijeh
b6793bbae6 Merge pull request #69 from ahdinosaur/master
add --ws boolean to command line script
2015-04-10 03:39:25 +12:00
Michael Williams
3167197588 add --ws boolean to command line script 2015-04-09 22:56:33 +12:00
Feross Aboukhadijeh
d341783bf7 3.4.0 2015-04-02 11:42:30 +13:00
Feross Aboukhadijeh
604880b87b server: support binding to specific hostname
Fixes #68
2015-04-02 11:42:13 +13:00
Feross Aboukhadijeh
8e7a43493b 3.3.1 2015-04-01 17:36:47 +13:00
Feross Aboukhadijeh
97222ed16d typo 2015-04-01 17:36:33 +13:00
Feross Aboukhadijeh
7e7062d2ae websocket tracker server/client: fix binary vs. hex bugs 2015-03-29 21:08:26 +13:00
Feross Aboukhadijeh
13e7ff7057 set self._opts correctly 2015-03-29 20:41:25 +13:00
Feross Aboukhadijeh
df8de6f608 client/websocket: warning on invalid info_hash 2015-03-29 20:40:21 +13:00
Feross Aboukhadijeh
b269fb9db4 fix debug statements 2015-03-29 20:39:18 +13:00
Feross Aboukhadijeh
3b3683f642 package.json: use ^ in versions 2015-03-27 17:28:55 +13:00
Feross Aboukhadijeh
6ab773f3b6 3.3.0 2015-03-27 16:19:29 +13:00
Feross Aboukhadijeh
03bed33457 add webtorrent (websocket) tracker server
This PR merges webtorrent-tracker into this repo. Keeping the code in
sync between the two repos was becoming burdensome. This change should
not effect performance of the server since the webtorrent tracker is
disabled by default.

To enable the webtorrent tracker (disabled by default), do:

```js
var server = new Server({ ws: true })
```
2015-03-27 16:19:06 +13:00
Feross Aboukhadijeh
5c08723e2f travis: test iojs, node 0.12 2015-03-27 16:05:18 +13:00
Feross Aboukhadijeh
1ff5769054 add support for webtorrent (websocket) trackers 2015-03-24 01:52:35 -07:00
Feross Aboukhadijeh
d759456d7a test: speed up 2015-03-24 01:02:10 -07:00
Feross Aboukhadijeh
f575cfc3c9 major client refactor - each tracker type into its own file
in preparation of adding a new websocket tracker type, for webtorrent
2015-03-24 01:01:49 -07:00
Feross Aboukhadijeh
d991983f5f readme 2015-03-20 03:02:43 -07:00
Feross Aboukhadijeh
f144cf2423 readme: document command line usage 2015-03-20 03:01:44 -07:00
Feross Aboukhadijeh
c80ba48a0d 3.2.1 2015-03-19 21:53:19 -07:00
Feross Aboukhadijeh
eb5a4760e4 add "bin" field to package.json 2015-03-19 21:52:58 -07:00
Feross Aboukhadijeh
3bf77c733a 3.2.0 2015-03-19 21:51:00 -07:00
Feross Aboukhadijeh
4afba4bc7d standard@3 2015-03-19 21:50:29 -07:00
Feross Aboukhadijeh
9ace2f5d3a add command line server
Fixes #26
2015-03-19 21:47:47 -07:00
Feross Aboukhadijeh
8f977ee7d3 3.1.4 2015-03-09 20:19:51 -07:00
Feross Aboukhadijeh
67daf78c2d style 2015-03-09 20:19:27 -07:00
Feross Aboukhadijeh
54dfc6d7e9 Merge pull request #64 from zckevin/master
[Client] Fix question mark in announceUrl
2015-03-09 20:17:43 -07:00
zckevin
8ee64c05f8 [Client] Fix question mark in announceUrl 2015-03-09 12:40:35 +08:00
Feross Aboukhadijeh
57cef88169 style: always use braces except for single-line 2015-03-06 18:12:59 -08:00
Feross Aboukhadijeh
1808290d7a 3.1.3 2015-02-28 17:53:55 -05:00
Feross Aboukhadijeh
888d89247d parse-torrent@4 2015-02-28 17:53:35 -05:00
Feross Aboukhadijeh
dc4a4cd69d bn.js@2 2015-02-28 17:53:28 -05:00