4 ms·
It is still overly complex and only handles one specific timeout case. A timeout per connection? That can be a lot of extra goroutines for such a simple thing.
by jnordwick 9y ago
It is still overly complex and only handles one specific timeout case. A timeout per connection? That can be a lot of extra goroutines for such a simple thing.
Or if you want a 30 second timeout since the last read? Way more complex.
Go's channels seem more than a little under developed.