This is the (minor) discussion regarding this extension
[2013-08-11 19:17:44] Crise: Have you added the downloading field to the GET or will you?
[2013-08-11 19:18:18] I don’t see a direct problem with it, and if you have already implemented it, then the extension should be in ADC-Ext.
[2013-08-11 19:28:26] my version has it, the current release version doens’t
[2013-08-11 19:28:38] * doesn’t
[2013-08-11 19:30:17] it is worth to also note that even if a client itself doesn’t request chunks out of sequence it can have chunks requested from it in this manner, so sending the field even if it is not parsed would be helpful to other clients
[2013-08-11 20:00:56] One could argue about waste of resources (bandwidth) but I don’t see that as a problem in (primarily) C-C.
[2013-08-11 20:54:04] Pretorian: I would counter that by claiming that having more accurate info about file progress the uploader is less inclined to go offline if an upload looks like it is going to finish soon (of course only applicable to someone who isn’t a total leech)
[2013-08-11 21:19:13] Crise: Yeah, I know. It’s the only real opposition I can easily come up with.
As there has no been any objection to the extension and there’s an implementation, I’m proposing the following text:
=== Downloaded progress report for uploaders in GET
When file segments are not downloaded sequentially, the info in the current GET command does not permit displaying relative upload progress for the uploading party (for the whole file).
To address this, this extension will add an additional field to the GET command for current downloaded (and verified) bytes before the request has been sent. While still not entirely accurate with this information, the uploader can see how much of the file the requesting party actually has instead of either assuming that the requester has the file up to the start position of the request or being forced to only show the progress of the currently requested part of the file. There is potentially a slight delay in the reporting of this info in scenarios where more than one segment of a file is simultaneously requested (by the downloader) and the uploader still lacks information about how many other sources the file is being downloaded from.
|DB |Downloaded (and verified) bytes.
Edit: “before the current request” -> “before the request has been sent”