summaryrefslogtreecommitdiff
path: root/lib/common/IOStream.h
Commit message (Collapse)AuthorAge
* Whitespace cleanupChris Wilson2015-08-07
|
* Replace Write(const char *) with Write(const std::string&).Chris Wilson2014-12-22
| | | | | This is better for C++ style and potential missing null termination.
* Simplify code with macros, update comments and fix whitespace.Chris Wilson2014-09-04
| | | | | | Hopefully all of these changes are inconsequential. Merged back changes from the test refactor branch to reduce diffs.
* Add missing timeouts for network operations.Chris Wilson2014-08-15
|
* 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.
* Whitespace fixes.Chris Wilson2014-04-29
|
* Add a ToString method to IOStream and some subclasses.Chris Wilson2014-04-29
| | | | | Useful to help debug problems such as invalid file headers when the source of the stream might not be too obvious.
* Remove definitions of unwanted copy constructor and assignment operator, Chris Wilson2009-01-05
| | | | | to avoid accidentally calling them.
* Move IOStream::Write(char *) out of line for debugging.Chris Wilson2009-01-04
|
* Add a method to write a C style string directly to an IOStream.Chris Wilson2009-01-03
|
* Add a Flush() method to IOStream to read and discard all remaining data, Chris Wilson2008-08-21
| | | | | | and a SelfFlushingStream class which can be used to ensure that protocol streams are always flushed, to avoid breaking protocol.
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14