Follow-up Comment #5, patch #5061 (project mldonkey):
http://forum.emule-project.net/index.php?showtopic=93222&hl=#
>From what I can tell in the code, the only requirements to bypass the upload
queue and be given a collection upload slot are that the file must have an
"emulecollection" extension and be smaller than 10 KiB.
eMule 0.47a - opcodes.h
#define MAXPRIORITYCOLL_SIZE 10*1024 // max file size for
collection file which are allowed to bypass the queu
eMule 0.47a - UploadQueue.cpp
// emule collection will bypass the queue^
if (reqfile != NULL &&
CCollection::HasCollectionExtention(reqfile->GetFileName()) &&
reqfile->GetFileSize() < (uint64)MAXPRIORITYCOLL_SIZE^
&& !client->IsDownloading() && client->socket != NULL &&
client->socket->IsConnected())^
{^
client->SetCollectionUploadSlot(true);^
RemoveFromWaitingQueue(client, true);^
AddUpNextClient(_T("Collection Priority Slot"), client);^
return;^
}^
else^
client->SetCollectionUploadSlot(false);^
The assumptions of the poster are correct. My proposal for this
feature is to allow all files, default 10kb as an option with
an upper hard-coded limit of 1MB to avoid abuse.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=5061>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
Mldonkey-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-users