Ticket #250 (new defect)

Opened 3 years ago

Logic error to let clients get upload slot while hn have NNP for them

Reported by: Enig123 Assigned to: Madcat
Priority: normal Milestone:
Component: mod_ed2k Version:
Severity: major Keywords:
Cc:

Description

When hn have ed2k file in downloading (but nothing downloaded), while starting hn, the sources are the first to get connected with. I've noticed that clients can get into upload slots even when hn have NNP (No Needed Parts) for them, consequently causing there's no upload at all for quite some time.

I think its likely a logic error of the condition to get into upload slots. If there's something to download to should be checked before clients get into upload slots.