Commit Graph

531 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
3eb0228c91 allow specifying hostnames for udp/http individually 2015-05-03 20:29:58 -07:00
Feross Aboukhadijeh
e7f0478e6e 4.0.0 2015-05-03 17:21:43 -07:00
Feross Aboukhadijeh
938c025ed9 remove wrtc dependency
For #303
2015-05-03 17:21:08 -07:00
Feross Aboukhadijeh
9a6e854609 Limit number of WebRTC offers to only 5 2015-05-03 16:53:37 -07:00
Feross Aboukhadijeh
1de0983864 3.6.3 2015-05-03 16:49:22 -07:00
Feross Aboukhadijeh
770b2e7480 3.6.2 2015-05-03 16:47:31 -07:00
Feross Aboukhadijeh
68f2317870 Revert "prevent "value out of bounds error""
This reverts commit 25b25f663c.
2015-05-03 16:46:39 -07:00
Feross Aboukhadijeh
1338282cc9 prevent negative complete/incomplete numbers
Fixes #65
Fixes #72
2015-05-03 16:38:16 -07:00
Feross Aboukhadijeh
71c5cf5fb6 3.6.1 2015-05-03 14:20:52 -07:00
Feross Aboukhadijeh
4c3c950056 One more fix for IPv6 UDP support
For #73
2015-05-03 14:20:17 -07:00
Feross Aboukhadijeh
d56dd26950 standard 2015-05-03 14:00:51 -07:00
Feross Aboukhadijeh
1212e33e3a 3.6.0 2015-05-02 12:15:53 -07:00
Feross Aboukhadijeh
4da0f3b8ac Listen over IPv6 for UDP
Fixes #73
2015-05-02 12:15:14 -07:00
Feross Aboukhadijeh
eada21b6a0 3.5.1 2015-05-01 21:33:35 -07:00
Feross Aboukhadijeh
25b25f663c prevent "value out of bounds error"
For #72
2015-05-01 21:32:54 -07:00
Feross Aboukhadijeh
ba7a58b1d8 3.5.0 2015-05-01 17:36:43 -07:00
Feross Aboukhadijeh
1cc5a511bd udp server: support multiple info_hash scrape
Fixes #33
2015-05-01 17:36:07 -07:00
Feross Aboukhadijeh
085db1e972 3.4.9 2015-05-01 14:21:45 -07:00
Feross Aboukhadijeh
efa15629dd don't reply to http requests after server has stopped listening 2015-05-01 14:21:09 -07:00
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