summaryrefslogtreecommitdiff
path: root/lib/common/ZeroStream.cpp
Commit message (Collapse)AuthorAge
* 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.
* Fix bug that caused sending a ZeroStream to end early, breaking protocol.Chris Wilson2012-04-28
|
* Add a stream which provides a source of zero bytes of arbitrary size,Chris Wilson2007-04-28
useful for testing support for files over 2GB. (refs #3)