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
Feross Aboukhadijeh
de1e206fec
Merge pull request #150 from feross/fix-148
...
Fix "Error: listener must be a function"
2016-04-22 16:43:02 -07:00
Feross Aboukhadijeh
fafbb25367
Fix "Error: listener must be a function"
...
The websocket can error and close before the "connection" event has
fired. In that situation, socket.onMessageBound, etc. will be undefined.
Closes #148
2016-04-22 16:34:41 -07:00
Feross Aboukhadijeh
a09c51dffc
AUTHORS.md
2016-04-21 03:16:50 -07:00
Feross Aboukhadijeh
6ff67922ea
8.0.2
2016-04-21 03:16:11 -07:00
Feross Aboukhadijeh
06f86a0733
Fix getAnnounceOpts function leak
2016-04-21 03:15:55 -07:00
Feross Aboukhadijeh
ec3ba5bd6c
Merge pull request #146 from henkel/master
...
Fix typo in readme
2016-04-10 20:11:01 -07:00
Philipp Henkel
ce10f2c4dd
Fix typo in readme
2016-04-08 22:02:49 +02:00
Feross Aboukhadijeh
a79a47185d
8.0.1
2016-04-04 04:10:19 -07:00
Feross Aboukhadijeh
6a57fe5c7e
Merge pull request #143 from feross/greenkeeper-bencode-0.9.0
...
Update bencode to version 0.9.0 🚀
2016-04-03 21:19:26 -07:00
Feross Aboukhadijeh
6cb8687e71
Merge pull request #144 from feross/greenkeeper-electron-webrtc-0.2.0
...
Update electron-webrtc to version 0.2.0 🚀
2016-04-03 21:16:36 -07:00
greenkeeperio-bot
3093c9a94c
chore(package): update electron-webrtc to version 0.2.0
...
http://greenkeeper.io/
2016-04-02 22:28:50 -07:00
greenkeeperio-bot
adf4f75551
chore(package): update bencode to version 0.9.0
...
http://greenkeeper.io/
2016-04-02 18:24:39 -07:00
Feross Aboukhadijeh
5e8fefc7d1
disable stalling websocket server tests
2016-03-31 23:35:26 -07:00
Feross Aboukhadijeh
1963d1b53a
8.0.0
2016-03-31 21:58:25 -07:00
Feross Aboukhadijeh
4431ae14ab
Ensure client.destroy() callback is called when websocket pool used
...
Fixes #141
2016-03-31 21:49:18 -07:00
Feross Aboukhadijeh
9a48e1c10a
Add failing test for #141
2016-03-31 21:48:21 -07:00
Feross Aboukhadijeh
2966165a8f
BREAKING: Client() takes single opts object now
...
To use the client, you used to pass in four arguments:
`new Client(peerId, port, parsedTorrent, opts)`
Now, passing in the torrent is no longer required, just the `announce`
and `infoHash` properties. This decouples this package from
`parse-torrent`.
All options get passed in together now:
new Client({
infoHash: '', // hex string or Buffer
peerId: '', // hex string or Buffer
announce: [], // list of tracker server urls
port: 6881 // torrent client port, (in browser, optional)
})
All the normal optional arguments (rtcConfig, wrtc, etc.) can still be
passed in with the rest of these options.
Fixes #118 . Fixes #115 .
Added ws tests for scrape.
2016-03-31 21:37:51 -07:00
Feross Aboukhadijeh
7a289638df
7.7.0
2016-03-30 00:32:15 -07:00
Feross Aboukhadijeh
3cd84411fb
Fixes for PR #142
2016-03-30 00:31:51 -07:00