Commit Graph

896 Commits

Author SHA1 Message Date
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
Feross Aboukhadijeh
d35d3d9ac9 8.0.7 2016-05-30 01:32:23 -07:00
Feross Aboukhadijeh
e957122dd8 Merge pull request #154 from feross/safe-buffer
Use safe-buffer
2016-05-30 01:29:48 -07:00
Feross Aboukhadijeh
2959c2cea6 Use safe-buffer
Use the new Buffer APIs from Node v6 for added security. For example,
`Buffer.from()` will throw if passed a number, unlike `Buffer()` which
allocated UNINITIALIZED memory in that case.

Use the `safe-buffer` package for compatibility with previous versions
of
Node.js, including v4.x, v0.12, and v0.10.

https://github.com/feross/safe-buffer
2016-05-29 23:12:23 -07:00
Feross Aboukhadijeh
30ab8e6a0e bencode@0.10 2016-05-29 22:53:53 -07:00
Feross Aboukhadijeh
06acb5e203 8.0.6 2016-05-25 13:49:38 -07:00
Feross Aboukhadijeh
2ee240ea16 Fix low-risk uninitialized memory buffer issue 2016-05-25 13:49:19 -07:00
Feross Aboukhadijeh
0b57a26e42 8.0.5 2016-05-13 16:53:22 -07:00
Feross Aboukhadijeh
c648f2e5e6 Better WebRTC detection
Before, any environment with a `window` would be detected as supporting
WebRTC.
2016-05-13 16:49:12 -07:00
Feross Aboukhadijeh
0d9ee4c93a Allow {wrtc: false} to disable WebRTC support 2016-05-13 16:49:12 -07:00
Feross Aboukhadijeh
808a9201cb Merge pull request #151 from feross/greenkeeper-standard-7.0.0
Update standard to version 7.0.0 🚀
2016-05-02 16:25:15 +02:00
greenkeeperio-bot
b2eb7d591d chore(package): update standard to version 7.0.0
https://greenkeeper.io/
2016-05-02 16:20:32 +02:00
Feross Aboukhadijeh
327d9ad4fc 8.0.4 2016-04-23 23:03:09 -07:00
Feross Aboukhadijeh
4a0758db24 Fix unnecessary escape 2016-04-23 23:02:52 -07:00
Feross Aboukhadijeh
721b504e25 8.0.3 2016-04-22 16:43:46 -07:00