This is the first time this is happening, after it has run for months
without problems, so this is a problem that is hard to reproduce.
The programs uses http.NewRequest() from net/http, it sets a transport
with ResponseHeaderTimeout: 90 * time.Second, it calls run, and if that
succeeds, it starts reading lines from the response body until an error
occurs (including EOF), then it closes the response body, waits a bit, and
starts over.
If requests fail many times in a row, I get an error messages. I didn't get
that. It seems that something is hanging. What can that be? The Run() on
the request can't be it, with the timeout set, right? Can a read from the
response body hang? Or closing the response body?
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.