If you have to account the downloads made by the client, you would check those errors and don't increment the download times if that write returned error.
But this is a very contrived example, I don't know any such case in real life. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.