Matthew Toseland wrote: >Would probably confuse the client... Can you test this? > No luck. Firefox won't send new requests in response to 4xx codes, and it will only send up to 20 requests per page in response to 3xx codes.
I suppose another possibility would be to create a simple "out-of-order" file format, which could be shared with other p2p networks that support out-of-order downloads. The file starts with a 64-bit length field, and each chunk is prefixed with a 64-bit length and a 64-bit offset. It's pretty trivial to reassemble files, detect incomplete files and resume downloads, and the inconvenience for users is no worse than downloading a ZIP archive. Cheers, Michael
