[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-users] [patch #5596] EDK: New option upload_full_chunks
From: |
TripleM |
Subject: |
[Mldonkey-users] [patch #5596] EDK: New option upload_full_chunks |
Date: |
Fri, 22 Dec 2006 03:52:18 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.2 x64; en-US; rv:1.8.0.5) Gecko/20060724 Firefox/1.5.0.5 (mmoy CE K8M-X19) |
Follow-up Comment #5, patch #5596 (project mldonkey):
implemented an alternative full chunk upload method. the goal of this
algorithm is to complete chunks, if a partial chunk is requested, or serve a
full chunk. no overflowdata is served. requested chunk is determined
through:
- compute the middle of a blockrequest: (begin_pos + end_pos)/2
- compute the chunk: block_middle/chunk_size
no further serving after last accepted request in this session, if one of the
following conditions:
- request of another file
- request of another chunk
- blockrequestsize > zonesize (180kb) or < 0
5596_2_2_alt_addon.patch is the addon patch for 5596_2_2.patch, so one can
test both methods. it has to be applied after 5596_2_2.patch.
5596_2_2_alt_standalone.patch is the standalone patch.
(file #11577, file #11578)
_______________________________________________________
Additional Item Attachment:
File name: 5596_2_2_alt_addon.patch Size:5 KB
File name: 5596_2_2_alt_standalone.patch Size:14 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?5596>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/