Thanks Dave. According to your example, the server is shutdown immediately even in the middle of downloading a large file.
I can use a timeout to close the connection. but is there some way to know we've finished serving all files before we close it? Andrew -- 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.