Commit Graph

17 Commits

Author SHA1 Message Date
Feross Aboukhadijeh 9562a84c5a send reject message when we don't have piece 2014-06-03 21:17:16 -07:00
fisch0920 6857b65d0b Merge remote-tracking branch 'upstream/master' 2014-05-15 06:31:58 -04:00
fisch0920 677e4522ea bugfix for issue where peer may not have any extensions as advertised 2014-05-15 06:31:42 -04:00
Feross Aboukhadijeh 82a02fd81a throw exception when metadata is bad 2014-05-11 14:23:19 -07:00
fisch0920 bc3d1ea668 fixed buggy metadata vs metadata.info 2014-05-09 07:11:14 -04:00
Feross Aboukhadijeh 2b60a6bde6 simplify metadata done check 2014-05-07 12:09:39 -07:00
fisch0920 4f002d7a76 fixed issue where ut_metadata thought it should have the whole torrent metadata whereas it actually only has the info dictionary part of the metadata 2014-05-07 02:00:17 -04:00
Feross Aboukhadijeh 57b57522bb style 2014-04-23 15:38:50 +02:00
Feross Aboukhadijeh 05abd138cd reduce max bitfield size by 100x 2014-04-19 18:26:19 -07:00
Feross Aboukhadijeh 03798c1c0d no infinite bitfield grow from malicious peers 2014-04-19 18:12:44 -07:00
Feross Aboukhadijeh c28d792a8a expect metadata to be a Buffer 2014-03-27 23:36:07 -07:00
Feross Aboukhadijeh 7298e9bde7 get rid of weird spaces 2014-03-22 22:36:12 -07:00
Feross Aboukhadijeh 0dda562ba9 add metadata verification 2014-03-22 22:15:57 -07:00
Feross Aboukhadijeh f8a6d99ae2 fix bitfield module name
os x masked this b/c case insensitive filesystem
2014-03-22 21:44:18 -07:00
Feross Aboukhadijeh 3ab3dd5efd emit more warnings 2014-03-22 21:10:23 -07:00
Feross Aboukhadijeh 289b7c3e06 dont expose gotMetadata 2014-03-22 21:09:55 -07:00
Feross Aboukhadijeh bda3920643 working implementation with tests 2014-03-22 20:34:50 -07:00