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/
_______________________________________________
Mldonkey-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-users