Commit Graph

860 Commits

Author SHA1 Message Date
ZunSThy
7ae7a2ca07 Revert "fix eslint"
This reverts commit 0444e937e2.
2016-11-06 15:58:52 +08:00
ZunSThy
0444e937e2 fix eslint 2016-10-29 04:25:50 +08:00
ZunSThy
725527aa84 add 'user-agent' in HTTP header 2016-10-29 02:51:37 +08:00
Feross Aboukhadijeh
524eb13b09 8.0.12 2016-10-03 23:43:45 -07:00
Feross Aboukhadijeh
cb8c324ebe Support lazy 'wrtc' module initialization
For: https://github.com/feross/webtorrent-hybrid/issues/46
2016-10-03 23:42:02 -07:00
Feross Aboukhadijeh
f21911a509 Merge pull request #176 from feross/once
Add test: no "update" events after destroy()
2016-09-21 22:36:49 +02:00
Feross Aboukhadijeh
15a35cedd9 add test: no "update" events after destroy() 2016-09-16 07:49:49 -07:00
Feross Aboukhadijeh
b2cbfafae7 use 'once' on some event handlers 2016-09-16 07:49:29 -07:00
Feross Aboukhadijeh
d5161e6ce5 standard 2016-08-25 18:56:49 -07:00
Feross Aboukhadijeh
8135ca319e 8.0.11 2016-08-20 19:39:04 -07:00
Feross Aboukhadijeh
a35f1f8178 replace hat with randombytes 2016-08-20 19:37:36 -07:00
Feross Aboukhadijeh
fbca6f20d7 8.0.10 2016-08-09 21:42:22 -07:00
Feross Aboukhadijeh
cc4f3fe2bc add CONTRIBUTING.md 2016-08-09 21:39:36 -07:00
Feross Aboukhadijeh
f2786cde96 Fixes for PR #170 2016-08-09 21:39:30 -07:00
Feross Aboukhadijeh
03fe83339c Merge pull request #170 from alxhotel/master
Check if peek(peerId) is undefined
2016-08-10 06:33:25 +02:00
Alex
ebf117242c Check if peer is undefined 2016-08-09 13:30:40 +02:00
Feross Aboukhadijeh
8f2e21798c Merge pull request #169 from alxhotel/master
Add id parameter in announce calls
2016-08-08 22:27:04 +02:00
Alex
f14d0b83df Add id parameter in announce calls 2016-08-08 17:25:25 +02:00
Feross Aboukhadijeh
cb35e58114 Improve AUTHORS.md formatting 2016-08-05 22:44:11 -07:00
Feross Aboukhadijeh
bd3a96716c 8.0.9 2016-08-05 18:41:46 -07:00
Feross Aboukhadijeh
55eda0ed93 Run all tests 2016-08-05 18:41:25 -07:00
Feross Aboukhadijeh
2791cee94b AUTHORS 2016-08-05 18:40:29 -07:00
Feross Aboukhadijeh
b516eb5adc 8.0.8 2016-08-05 18:26:27 -07:00
Feross Aboukhadijeh
17807dc608 Merge pull request #168 from feross/fix-167
Fix Client.scrape returns no error on invalid URL
2016-08-05 18:25:14 -07:00
Feross Aboukhadijeh
59bba81c5a Fix Client.scrape returns no error on invalid URL
Fix #167.
2016-08-05 18:23:43 -07:00
Feross Aboukhadijeh
a59a3069b5 Fix webtorrent version parsing 2016-07-29 18:18:32 -07:00
Feross Aboukhadijeh
cf0b22b04f Update example for new API
Fix #166
2016-07-26 14:28:06 -07:00
Yoann Ciabaud
f76b27c12a Merge pull request #160 from yciabaud/lru-pruning
Limit peers in tracker server with LRU based cache fixes #4
2016-07-19 19:50:25 +02:00
Feross Aboukhadijeh
38fec43ccd Merge pull request #163 from nickfrostatx/patch-1
Fix typo
2016-07-15 01:36:54 -07:00
Feross Aboukhadijeh
cc783392c4 fixes for standard v8 2016-07-13 13:54:19 -07:00
Nick Frost
410ed96e56 Fix typo 2016-07-05 19:13:30 -07:00
Yoann Ciabaud
2ac65725a1 Merge pull request #158 from yciabaud/stats-clients
Add stats on clients based on peerIds
2016-06-23 15:08:23 +02:00
Yoann Ciabaud
2c7ea4e307 Refactor id usage in announce and fix default peersCacheTtl 2016-06-14 07:15:57 +02:00
Feross Aboukhadijeh
f83d2f7966 Merge pull request #161 from yciabaud/stats-json-header
Use correct HTTP header to work with JSON on GET
2016-06-13 16:18:19 -07:00
Yoann Ciabaud
29fcf30cb4 Use correct HTTP header to work with JSON on GET 2016-06-13 00:34:26 +02:00
Yoann Ciabaud
d51a77b028 Update lru package to 3.0.0 and set peersCacheLength to 1K as default 2016-06-10 10:00:19 +02:00
Yoann Ciabaud
5843b7d2f6 Bugfix in manual peer eviction. 2016-06-10 00:29:56 +02:00
Yoann Ciabaud
7f98203d5e Manually clean peers on announce 2016-06-09 16:28:31 +02:00
Yoann Ciabaud
5dcc932247 Refresh cache on changes and handle access to evicted peer 2016-06-09 02:10:07 +02:00
Yoann Ciabaud
1dbc95cbdc Add pruning to server tests.
Issue #4
2016-06-09 01:28:49 +02:00
Yoann Ciabaud
ca522c0c4b Prune old peers in server with lru based cache. Issue #4 2016-06-08 23:57:01 +02:00
Feross Aboukhadijeh
92a0710026 Merge pull request #159 from yciabaud/numwant
Double default numwant for webrtc trackers (now Chrome 51 is released)
2016-06-07 13:50:18 -07:00
Yoann Ciabaud
fa0b3e4535 Double default for webrtc trackers (now Chrome 51 is released) #152 2016-06-07 18:50:06 +02:00
Yoann Ciabaud
f8c7de5213 Add stats on clients based on peerIds 2016-06-07 14:34:38 +02:00
Yoann Ciabaud
bbb8edcaa5 Merge pull request #155 form jakefb/master 2016-06-07 10:50:36 +02:00
Yoann Ciabaud
d7a651f360 Fixes for PR #155 2016-06-07 10:49:27 +02:00
Yoann Ciabaud
d6bdd0e7eb Merge branch 'master' of git://github.com/jakefb/bittorrent-tracker into jakefb-master 2016-06-07 00:38:18 +02:00
Feross Aboukhadijeh
52aacc1db0 Merge pull request #156 from yciabaud/scrape-test
Restore scrape test for websocket tracker now it is is supported
2016-06-04 23:09:20 -07:00
Yoann Ciabaud
54782bc7e0 Restore scrape test for websocket tracker now it is is supported 2016-06-04 15:50:46 +02:00
jakefb
7906848037 Add json to tracker stats 2016-06-02 14:27:14 +12:00