summaryrefslogtreecommitdiff
path: root/lib/common/RateLimitingStream.h
Commit message (Collapse)AuthorAge
* Fix infinite loop in RateLimitingStream::Write().Chris Wilson2016-09-11
|
* Fix deadlock waiting for read or write on closed connection.Chris Wilson2014-08-15
| | | | | | | | If the system is suspended then it may not realise that a TCP connection has been closed, while waiting for data to arrive on it. We didn't used to apply a timeout to this read operation. Now we use the connection's default timeout on all read and write operations. Network operations that don't pass a timeout will be logged with a backtrace, so that they can be fixed.
* Add an implementation of a stream wrapper that limits reading rate, toChris Wilson2011-01-12
control bandwidth usage.