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
Feross Aboukhadijeh
67be6227c0
cleanup server test
2014-05-18 18:35:12 -07:00
Feross Aboukhadijeh
c4871a5480
bump deps
2014-05-18 18:34:56 -07:00
Feross Aboukhadijeh
418e996b81
add tracker server jsdoc comment
2014-05-18 17:58:03 -07:00
Aliaksei Sapach
dfd235d387
fixed test plan
2014-05-18 19:41:42 +03:00
Aliaksei Sapach
55120f5c48
added a failing test
2014-05-18 19:15:20 +03:00
Feross Aboukhadijeh
7b5be63e75
0.7.1
2014-05-17 12:52:31 -07:00
Feross Aboukhadijeh
239e4f6add
remove vim comment
2014-05-17 12:52:06 -07:00
Feross Aboukhadijeh
7d880680ab
Merge pull request #17 from fisch0920/master
...
small bugfix for erroneous trackers
2014-05-17 12:51:20 -07:00
fisch0920
d7b567554f
Merge remote-tracking branch 'upstream/master'
2014-05-15 06:30:11 -04:00
fisch0920
c4684c8b72
fixed issue where an erroneous tracker could cause webtorrent to crash because socket.close was already closed after an error state
2014-05-15 06:29:47 -04:00
Feross Aboukhadijeh
c60fe18c6d
0.7.0
2014-05-14 12:50:33 -07:00
Feross Aboukhadijeh
cc80088038
handle case where parsedTorrent.length is undefined
...
- Expose `torrentLength` so the user can set it when they know the
torrent length. (With a magnet uri, they won’t know the length at the
time the Client is instantiated)
- UDP Client: Send FFFFFFFFFFFFFFFF for ‘left’ param when we don’t know
the size. (This is what Transmission does)
Fixes #15 .
2014-05-14 12:49:15 -07:00
Feross Aboukhadijeh
2983811a71
handle case where magnet uri has only one 'tr' param
2014-05-14 12:46:15 -07:00
Feross Aboukhadijeh
6f565ed6fa
add test: tracker client from magnet uri
2014-05-14 12:45:48 -07:00
Feross Aboukhadijeh
3318ef642d
0.6.1
2014-05-11 23:58:56 -07:00
Feross Aboukhadijeh
bbe2fa35bf
upgrade bn.js
2014-05-11 23:58:42 -07:00
fisch0920
50d3379255
Merge remote-tracking branch 'upstream/master'
2014-05-12 01:14:42 -04:00
fisch0920
a69ee07871
added slightly better error logging
2014-05-12 01:14:24 -04:00
Feross Aboukhadijeh
d0c1caf83b
0.6.0
2014-05-11 17:33:28 -07:00
Feross Aboukhadijeh
e5e0fa9e27
minor style cleanup
2014-05-11 17:32:57 -07:00
Feross Aboukhadijeh
fec4e0dc3d
add readme for scrape feature
2014-05-11 17:29:12 -07:00
Feross Aboukhadijeh
94ae74b32d
remove new
trick for non-exported function
2014-05-11 16:41:47 -07:00
fisch0920
5064a05dde
added client and server support for scrape messages in addition to announce messages (tcp and udp)
2014-05-09 02:38:41 -04:00
fisch0920
931f0a5a48
refactored tracker tracker Client into a container for multiple Trackers each with their own, independent update interval and trackerIds
2014-05-09 00:23:14 -04:00
Feross Aboukhadijeh
7102b9bc3e
0.5.1
2014-05-07 12:38:38 -07:00
Feross Aboukhadijeh
26738d29ae
update deps
2014-05-07 12:38:26 -07:00
Feross Aboukhadijeh
43e5a8b094
0.5.0
2014-05-01 07:31:49 -07:00
Feross Aboukhadijeh
cdd1226a65
Merge branch 'mafintosh-bn.js'
2014-05-01 07:30:55 -07:00
Mathias Buus
64eaa3f936
use bn.js instead of bignum
2014-04-30 23:02:19 +02:00
Feross Aboukhadijeh
44bb19c8c9
readme
2014-04-19 01:38:36 -07:00
Feross Aboukhadijeh
3b6241da98
0.4.1
2014-04-19 01:33:28 -07:00
Feross Aboukhadijeh
ad7a181241
update parse-torrent dep
2014-04-19 01:32:50 -07:00
Feross Aboukhadijeh
5d970f70e5
make bignum an optional dependency
2014-04-19 01:32:42 -07:00
Feross Aboukhadijeh
0f29a4c5e6
0.4.0
2014-04-18 23:29:08 -07:00
Feross Aboukhadijeh
dfd5149d6b
fix #11 - support torrents with 64-bit file sizes
2014-04-18 23:28:59 -07:00
Feross Aboukhadijeh
a924e620e1
#11 add failing test
2014-04-18 23:08:17 -07:00
Feross Aboukhadijeh
b0a659f00c
[udp server] add stub implementation
2014-04-18 23:05:21 -07:00
Feross Aboukhadijeh
60b7f8dd09
add more thorough server tests
2014-04-18 23:00:40 -07:00
Feross Aboukhadijeh
c61009eceb
0.3.6
2014-04-11 22:00:11 -07:00
Feross Aboukhadijeh
c38cdd94e1
i'm getting tired
2014-04-11 22:00:03 -07:00
Feross Aboukhadijeh
2cf4bf649d
0.3.5
2014-04-11 21:57:33 -07:00
Feross Aboukhadijeh
8eba7da318
fix the fix
2014-04-11 21:57:19 -07:00
Feross Aboukhadijeh
00da5d0281
0.3.4
2014-04-11 21:55:27 -07:00
Feross Aboukhadijeh
4daca0540c
bugfix: client send correct peerId to server
2014-04-11 21:55:06 -07:00
Feross Aboukhadijeh
e87f800b94
kill nbsp
2014-04-09 22:15:24 -07:00
Feross Aboukhadijeh
89bc8e8189
badges
2014-04-09 22:15:18 -07:00