Feross Aboukhadijeh
ad5c5b6133
lots of little cleanup
2014-08-02 13:43:06 -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
be875c40af
Fix serious client+server encoding error ( fix #32 )
2014-07-12 18:44:41 -07:00
Feross Aboukhadijeh
aceca28b78
whitespace
2014-07-11 03:58:13 -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
b3fb537206
style
2014-07-11 02:58:34 -07:00
Feross Aboukhadijeh
b4928f001a
Server perf: Use binary info_hash strings ( fix #29 )
2014-07-10 22:05:56 -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
6696c01ee2
bncode -> bencode
2014-06-11 17:57:23 -07:00
Feross Aboukhadijeh
c403e5c29f
split client and server into separate files
2014-06-07 15:11:30 -07:00