--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Not in the same way. The cost for Go (a goroutine reading occasional slow bytes) is much, much cheaper than a server with a thread or process per request.
--
--
With ReadTimeout or WriteTimeout set, a non-idle connection will be closed too.
This means that go server cannot serve long-running tasks like downloading big files, streaming media.Is this by design?
What does that do that the stdlib doesn't? It looks like it
was written for go1.1, which I suspect didn't directly
support timeouts.