I checked this in, with a threshold of 8KB.

Also, the previous change was erroneous if there are multiple
upload URLs, so I added a check for that.

Nicolás Alvarez wrote:
> Another:
> 
> If the file is smaller than a certain threshold (eg. 4KB), don't EVER bother 
> sending the first request asking for the file size. When the file is so 
> small, sending that first request wastes more resources than needlessly 
> sending the entire file when in fact only a few bytes were left.

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to