Commit Graph

681 Commits

Author SHA1 Message Date
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
Feross Aboukhadijeh
cd14b7d5b3 0.3.3 2014-04-04 23:27:54 -07:00
Feross Aboukhadijeh
5c7ebb7b58 style 2014-04-04 23:27:38 -07:00
thermatk
c8cc97afea Fix for unknown port
For example, in torrents from Yify their tracker has url "udp://tracker.yify-torrents.com/announce" in which case a crtitical error is shown because "port should be in range from 0 to 65535"
2014-04-04 19:59:25 +04:00
Feross Aboukhadijeh
7858111646 0.3.2 2014-03-28 17:47:48 -07:00
Feross Aboukhadijeh
0b11b0be72 Merge pull request #8 from mafintosh/unref
unrefing timeout to not hang on stop
2014-03-28 17:47:06 -07:00
Mathias Buus
ff289c6b23 unrefing timeout to not hang on stop 2014-03-28 17:11:19 +01:00
Feross Aboukhadijeh
9a4688ff8e 0.3.1 2014-03-27 21:56:10 -07:00
Feross Aboukhadijeh
553944e2e1 unify udp tests to prevent hammering public servers
should help with rate limiting
2014-03-27 21:55:21 -07:00
Feross Aboukhadijeh
61c386f7bc readme 2014-03-27 21:45:53 -07:00