linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #02678
[Bug 674816] Re: share rehashing system should be updated
When dan posted this file in Public, he told me that after this code is applied, the client would try to keep hashing the file as soon as it detects it has changed.
For me it causes a problem.. For example what happens when you try to download directly into your shared directory? That may take hours, and if you do that, your client would try to hash the file in every x ms for hours? That sounds kinda ugly. Yes, I know: downloading to shared directories is not a pretty thing either, but sometimes it happens, and users do that.
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/674816
Title:
share rehashing system should be updated
Status in DC++:
Incomplete
Bug description:
currently the share rescan/rehashing system is designed such that it re-scans the entire directory tree after a certain amount of time. instead dc++ should use the ReadDirectoryChangesW windows API command to be instantly notified by windows when files are created or modified, removing the need to scan entirely except for on startup. see http://www.codeguru.com/forum/showthread.php?t=436716 for a simplified code sample.
References