2 ms·
This isn't true. First net and net/http are great. Second, there are examples all over the ML (even within the last three days) that shows how to create an http
by drivebyacct2 14y ago
This isn't true. First net and net/http are great. Second, there are examples all over the ML (even within the last three days) that shows how to create an http client with a timeout-able Dial() function.
- deleted 14y ago[deleted]
- problemdomain 14y agojames4k just posted a link to the source where the comment by Brad Fitzpatrick actually says it's broken in the manner under discussion. // TODO(bradfitz): the timeout should be pushed down into the // net package's event loop, so on timeout to dead hosts we // don't have a goroutine sticking around for the default of // ~3 minutes.