* RecoverProgress fails sometime
* leecher can't see file is done already
* why leecher waits 1sec?
+ * hint queue buildup
tintbin f = hint_out_.front();
if (f.time<NOW-rtt_avg_*8) {
hint_out_.pop_front();
+ dprintf("%s #%i !hint (%i,%lli)\n",
+ tintstr(),id,(int)f.bin.layer(),f.bin.offset());
transfer().picker().Expired(f.bin);
} else {
int status = file().ack_out().get(f.bin);
if (status==bins::EMPTY) {
- transfer().picker().Expired(f.bin);
break;
} else if (status==bins::FILLED) {
hint_out_.pop_front();
hint_out_.front().bin = f.bin.right();
f.bin = f.bin.left();
hint_out_.push_front(f);
- }
+ } // FIXME: simplify this mess
}
}
/*while (!hint_out_.empty() &&