Commit Graph

379 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
6414587a35 2.1.1 2014-08-02 13:43:45 -07:00
Feross Aboukhadijeh
ad5c5b6133 lots of little cleanup 2014-08-02 13:43:06 -07:00
Feross Aboukhadijeh
9e22aa40f1 cleanup tests 2014-07-23 19:16:23 -07:00
Feross Aboukhadijeh
2b248d978f 2.1.0 2014-07-21 22:59:24 -07:00
Feross Aboukhadijeh
e6de7a2f54 add tests for scraping a udp tracker (fix #34) 2014-07-21 22:58:13 -07:00
Feross Aboukhadijeh
231ff5709c correctly detect UDP tracker scrape support
Before this fix, udp tracker urls needed to contain “/announce” or else
we would assume the tracker doesn’t support scrape. (This is correct
behavior for http trackers, but not udp)
2014-07-20 04:34:32 -07:00
Feross Aboukhadijeh
8a6744f276 server: add debug logs 2014-07-20 03:33:33 -07:00
Feross Aboukhadijeh
d1ac7d930e listen for error on udp socket 2014-07-13 15:28:23 -07:00
Feross Aboukhadijeh
3ca0563e84 2.0.0 2014-07-12 18:57:40 -07:00
Feross Aboukhadijeh
24c8535792 tracker returns warnings for non-fatal conditions 2014-07-12 18:56:25 -07:00
Feross Aboukhadijeh
be875c40af Fix serious client+server encoding error (fix #32) 2014-07-12 18:44:41 -07:00
Feross Aboukhadijeh
ddbd10e552 readme: fix server example, no params object 2014-07-12 18:41:08 -07:00
Feross Aboukhadijeh
65c44e81f7 http server: error on invalid peer_id 2014-07-12 18:40:52 -07:00
Feross Aboukhadijeh
aceca28b78 whitespace 2014-07-11 03:58:13 -07:00
Feross Aboukhadijeh
e1fa242cc5 1.11.0 2014-07-11 03:52:23 -07:00
Feross Aboukhadijeh
a685cb8088 Servers should obey the numWant parameter (fix #21) 2014-07-11 03:51:29 -07:00
Feross Aboukhadijeh
cdc2c5dea9 default numwant to 50 since that's the server default 2014-07-11 03:51:01 -07:00
Feross Aboukhadijeh
8b9dfb55b8 add test for announce with numwant 2014-07-11 03:50:48 -07:00
Feross Aboukhadijeh
7b5cd6bb7f unify client http + udp test suites 2014-07-11 03:50:35 -07:00
Feross Aboukhadijeh
5037cb3e32 unify server http + udp test suites 2014-07-11 03:49:45 -07:00
Feross Aboukhadijeh
b3fb537206 style 2014-07-11 02:58:34 -07:00
Feross Aboukhadijeh
df31ae90b7 1.10.0 2014-07-10 22:06:19 -07:00
Feross Aboukhadijeh
b4928f001a Server perf: Use binary info_hash strings (fix #29) 2014-07-10 22:05:56 -07:00
Feross Aboukhadijeh
1681474f0e fail client tests on warning 2014-07-10 21:58:19 -07:00
Feross Aboukhadijeh
9f64ec67c3 1.9.0 2014-07-10 21:31:56 -07:00
Feross Aboukhadijeh
539f1bf65d add single scrape, multi scrape, all scrape tests 2014-07-10 21:30:30 -07:00
Feross Aboukhadijeh
ec67f42b14 only /announce and /scrape are valid endpoints 2014-07-10 21:30:17 -07:00
Feross Aboukhadijeh
23d2c02fe6 Support scrape without info_hash specified (Fix #28) 2014-07-10 21:30:10 -07:00
Feross Aboukhadijeh
5bc1b50ff5 client: make tracker errors into 'warning' events
trackers failing to respond or giving non-200 http status codes is not
a fatal error
2014-07-10 21:29:23 -07:00
Feross Aboukhadijeh
ce171f196c move common encode/decode fns to common.js 2014-07-10 21:28:37 -07:00
Feross Aboukhadijeh
2c34583c5f http tracker: support multiple info_hash scrapes 2014-07-10 21:00:55 -07:00
Feross Aboukhadijeh
0a51e59bd0 better test error messages 2014-07-10 21:00:02 -07:00
Feross Aboukhadijeh
bf1d382c7a http tracker server: error on missing params 2014-07-10 19:59:33 -07:00
Feross Aboukhadijeh
bf30085fc0 1.8.0 2014-07-08 02:05:36 -07:00
Feross Aboukhadijeh
f5ab69793e bn.js@0.13.x 2014-07-08 02:05:18 -07:00
Feross Aboukhadijeh
8b42fb2bef 1.7.0 2014-07-05 14:42:54 -07:00
Feross Aboukhadijeh
ac00794fb4 error on missing info hash 2014-07-05 14:41:46 -07:00
Feross Aboukhadijeh
f21ab25347 support starting udp and http on different ports 2014-07-05 14:41:22 -07:00
Feross Aboukhadijeh
3e6832ab29 1.6.0 2014-07-03 20:05:19 -07:00
Feross Aboukhadijeh
d35807f5a3 emit port with 'listening' event 2014-07-03 20:05:02 -07:00
Feross Aboukhadijeh
ba6d85c0a9 1.5.0 2014-06-11 17:57:31 -07:00
Feross Aboukhadijeh
6696c01ee2 bncode -> bencode 2014-06-11 17:57:23 -07:00
Feross Aboukhadijeh
4704774265 Update README.md 2014-06-07 15:41:06 -07:00
Feross Aboukhadijeh
d96f783c32 1.4.0 2014-06-07 15:15:12 -07:00
Feross Aboukhadijeh
15a6f3c715 require('bittorrent-tracker') returns Client 2014-06-07 15:15:00 -07:00
Feross Aboukhadijeh
3009adea66 1.3.0 2014-06-07 15:11:37 -07:00
Feross Aboukhadijeh
2186b425ea don't bundle ./server.js for browser 2014-06-07 15:11:30 -07:00
Feross Aboukhadijeh
c403e5c29f split client and server into separate files 2014-06-07 15:11:30 -07:00
Feross Aboukhadijeh
d1fc89cf1d Merge pull request #24 from hicom150/patch-1
Fix small typos in the readme example
2014-06-06 01:22:59 -07:00
hicom150
f6703254a2 Fix small typos in the readme example 2014-06-06 10:21:01 +02:00