timeoutConn.ReadFrom was way too complicated - now it's a lot simpler.
the new utils.CopyN makes certain that only one io.LimitedReader is
used. This is mostly useful incases where two or more such might get
added one after another leading to sendfile not being used - it can only
get trough one.
timeoutConn.ReadFrom was way too complicated - now it's a lot simpler.
the new utils.CopyN makes certain that only one io.LimitedReader is used. This is mostly useful incases where two or more such might get added one after another leading to sendfile not being used - it can only get trough one.