Commit Graph

836 Commits

Author SHA1 Message Date
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
Feross Aboukhadijeh
231aed2ee6 1.2.0 2014-06-06 01:16:00 -07:00
Feross Aboukhadijeh
e2da63c434 bn.js@0.11.7 2014-06-06 01:15:46 -07:00
Feross Aboukhadijeh
e35baa6a4f buffer-equal@0.0.1 2014-06-06 01:15:36 -07:00
Feross Aboukhadijeh
49d91dbd98 1.1.1 2014-06-06 00:26:00 -07:00
Feross Aboukhadijeh
cf074e12a8 fix debug usage 2014-06-06 00:25:51 -07:00
Feross Aboukhadijeh
c52169d136 add debug messages 2014-06-06 00:23:02 -07:00
Feross Aboukhadijeh
125e9f5796 1.1.0 2014-06-05 23:41:03 -07:00
Feross Aboukhadijeh
20d14391d5 http server: support announce at / 2014-06-05 23:40:37 -07:00
Feross Aboukhadijeh
85b7c606b9 add debug 2014-06-05 23:40:22 -07:00
Feross Aboukhadijeh
202bfe8385 add server.listen(port, onlistening) shorthand 2014-06-05 23:40:13 -07:00
Feross Aboukhadijeh
ba84b812c2 1.0.2 2014-06-05 00:18:26 -07:00
Feross Aboukhadijeh
a5aab16807 minor style 2014-06-05 00:18:00 -07:00
Feross Aboukhadijeh
8aebeb7898 Merge pull request #23 from jhiesey/master
Time out and clean up udp stopped messages
2014-06-05 00:10:10 -07:00
John Hiesey
effd911f21 Remove semicolons 2014-06-05 00:05:08 -07:00
John Hiesey
48baf2bfa6 Time out and clean up udp stopped messages
This solves one of the problems with the bittorrent-client tests
not exiting
2014-06-05 00:05:08 -07:00
Feross Aboukhadijeh
575f28e041 1.0.1 2014-05-23 21:31:43 -07:00
Feross Aboukhadijeh
a2d5f959ca bn.js@0.10.0 2014-05-23 21:31:22 -07:00
Feross Aboukhadijeh
3889d91f64 1.0.0 2014-05-23 21:27:17 -07:00
Feross Aboukhadijeh
fe559e0db7 force ipv4 addresses for node 0.11+ 2014-05-23 21:25:20 -07:00
Feross Aboukhadijeh
62be68979b ALL TESTS WORK OFFLINE
Fixes #18
2014-05-23 21:17:31 -07:00
Feross Aboukhadijeh
2aea063b8c make client tests work offline
for #18
2014-05-23 21:14:19 -07:00
Feross Aboukhadijeh
dc6f355391 make magnet test work offline
for #18
2014-05-23 21:02:53 -07:00
Feross Aboukhadijeh
387c1e536e udp client: clean up timer situation 2014-05-23 21:02:09 -07:00
Feross Aboukhadijeh
cc4c73ec24 Revert "udp client: unref the socket"
This reverts commit 6f1aa981d4.

Conflicts:
	index.js
2014-05-23 20:44:48 -07:00
Feross Aboukhadijeh
14034c2848 wait for server close before next test 2014-05-23 20:43:45 -07:00
Feross Aboukhadijeh
0ff2c1917b timeout might not be defined 2014-05-23 20:43:12 -07:00
Feross Aboukhadijeh
954b3af78e make large torrent test not depend on the network
for #18
2014-05-23 20:35:29 -07:00
Feross Aboukhadijeh
b3d4acbb46 simplify server tests 2014-05-23 20:35:01 -07:00
Feross Aboukhadijeh
351f829104 udp client: don't set a timer for stopped message 2014-05-23 20:34:46 -07:00
Feross Aboukhadijeh
6f1aa981d4 udp client: unref the socket 2014-05-23 20:34:31 -07:00
Feross Aboukhadijeh
9bf68da828 udp client: add try-catches around close() 2014-05-23 20:34:23 -07:00
Feross Aboukhadijeh
783263f3a0 add udp tracker server
fixes #9
2014-05-23 19:44:57 -07:00
Feross Aboukhadijeh
9c8e3ab62a add udp/http option docs 2014-05-23 18:06:29 -07:00
Feross Aboukhadijeh
0176c3d09b add 'warning' event to docs 2014-05-23 18:05:18 -07:00
Feross Aboukhadijeh
eddef2f197 print out warning messages in tests 2014-05-23 18:03:50 -07:00
Feross Aboukhadijeh
f6d020128c add failing udp server test 2014-05-23 18:01:51 -07:00
Feross Aboukhadijeh
d1aca7c3d4 disable udp tracker for http server test 2014-05-23 18:01:42 -07:00
Feross Aboukhadijeh
872518d1b5 client support for udp tracker error message 2014-05-23 18:01:13 -07:00
Feross Aboukhadijeh
3d50193ba0 0.7.3 2014-05-22 11:27:39 -07:00
Feross Aboukhadijeh
72b7608acd Merge pull request #20 from mafintosh/no-data-fix
only handle response if there is any data
2014-05-22 11:27:04 -07:00
Mathias Buus
98d1b0a17c only handle response if there is any data 2014-05-22 17:42:44 +02:00
Feross Aboukhadijeh
59d3c01937 0.7.2 2014-05-18 18:37:09 -07:00
Feross Aboukhadijeh
e83328babe fix bug where client mangles tracker port
The client was converting the binary (compact) response to a utf8
string which would modify the data in some cases. Keeping it as a
buffer the whole time solves the issue.

Fixes #19.
2014-05-18 18:36:40 -07:00