magnetico/cmd
Bora Alper 85fb2f5ea9 resolved reqq question
reqq question
=============
reqq:
  An integer, the number of outstanding request messages this client supports
  without dropping any. The default in in libtorrent is 250.

  "handshake message" @ "Extension Protocol"
    @ http://www.bittorrent.org/beps/bep_0010.html

TODO: maybe by requesting all pieces at once we are exceeding this limit? maybe
      we should request as we receive pieces?

answer
======
almost every single peer I encountered (for brief 10 minutes... which I think
is enough) had 255 as reqq value and the number of metadata pieces we requested
very rarely exceeded 20... I think it's fair to assume that exceeding "that
limit" will never be a question, and requesting the next piece as we receive
the previous one might increase the latency, unnecessarily.
2018-08-03 16:16:33 +03:00
..
magneticod resolved reqq question 2018-08-03 16:16:33 +03:00
magneticow fixed some go vet warnings, fixed formatting 2018-08-03 15:40:04 +03:00