[Libtorrent-devel] full allocation
lucke at o2.pl
Sun May 6 08:37:45 UTC 2007
On Saturday 05 of May 2007, you wrote:
> Łukasz Fibinger wrote:
> > Any help would be appreciated. I just hate how proper allocation is
> > disregarded in the great majority of clients.
> See libtorrent/src/torrent/data/file.cc:134, just uncomment that line
> and play with socket_file.cc. The reason it isn't enabled is that the
> guy that requested that feature told me it didn't work for some reason.
> Other than that, can't do much due to lacking generic support for this.
It seems that allocating works okay, however hash check fscks things up
(zeroes the file, at least partially?). Do you perhaps have any idea why it'd
do that? I can't make out much from hash_*.cc.
With hash check disabled, everything seems to function properly.
More information about the Libtorrent-devel