rejetto forum

URGENT : Hits counter not valid for multi-threaded

vbn · 23 · 4690

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile

Offline vbn

  • Occasional poster
  • *
    • Posts: 36
    • View Profile
@rejetto :
 ??? I dont think so ... HFS is counting each thread of download as 1 instead of whole file which means if a user downloads a file using accelerator like Flashget using split into 3 threads... the item-dl-count increments by 3 and NOT 1.

You can test yourself @ http://www.vbnfiles.com/xda/vbn ... try any file above 1 MB

That is what my question and dilemma is...


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
ok, i will install an accelerator and test myself. I have none at this moment.




Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
i just used FDM to download a 6MB file using 4 threads, on my local hfs.
the counter raised just by 1, correctly.

then i used FDM to download a 1MB file from you, it used 2 threads.
the counter again raised just by 1.


Offline vbn

  • Occasional poster
  • *
    • Posts: 36
    • View Profile
Hmm..maybe its the latest beta  ??? because its fine now ...

Anyways I am happy its working as desired  ;D


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
i don't think it's related to the beta, since i firstly replied you reading the code of the previous build.