GET and Downloading of files
Posted: April 12, 2005, 9:04 pm
As of now, the specs say that if a client has a partial of a file and they intercept a request for that file that they can fulfill, then they take over the message and start sending their version of the file.
We think this could cause a number of problems since there is no way to positively identify a file as the file the user wanted. In the event that a user requests an entire file, there is no filesize involved, so anyone along the path who has a file with the same filename can respond, even if its not the file that was supposed to be sent.
While it makes sense for the first peer to serve the file, there is not enough information to make certain that indeed is the file.
We think this could cause a number of problems since there is no way to positively identify a file as the file the user wanted. In the event that a user requests an entire file, there is no filesize involved, so anyone along the path who has a file with the same filename can respond, even if its not the file that was supposed to be sent.
While it makes sense for the first peer to serve the file, there is not enough information to make certain that indeed is the file.