peerplays-fc/include/fc/io
Eric Frias aa6882b3b7 Allow us to safely cancel tasks that are executing asynchronous network reads
and writes.  This was previously unsafe because we almost always passed read/write
buffers to boost that were on the stack. Canceling the task deleted the stack and
therefore the buffer, but couldn't reliably prevent boost from writing to the buffer
if data came in after the cancel.  This commit adds variants of the read and write
functions that take a shared_ptr<char> instead of a raw char* as the buffer, and
these variants will ensure the shared_ptr will outlive the boost::asio read/write.
2014-09-09 11:10:37 -04:00
..
buffered_iostream.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
console.hpp added utility to hide console echo for entering passwords 2014-02-15 14:06:35 -05:00
datastream.hpp Fix error message printed when unable to deserialize a json object, improve 2014-05-06 17:20:04 -04:00
datastream_back.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
enum_type.hpp update json validation and varint hashing 2014-05-07 21:27:37 -04:00
fstream.hpp using explicit bool operator for optional 2014-05-20 11:25:31 -04:00
iobuffer.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
iostream.hpp Allow us to safely cancel tasks that are executing asynchronous network reads 2014-09-09 11:10:37 -04:00
json.hpp update json validation and varint hashing 2014-05-07 21:27:37 -04:00
raw.hpp Add raw serialization for microseconds 2014-06-19 15:51:41 -04:00
raw_fwd.hpp raw serialization of std::map 2014-05-19 15:22:19 -04:00
raw_unpack_file.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
raw_variant.hpp Quiet compiler warning signed vs unsigned 2014-04-14 17:10:29 -04:00
sstream.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
stdio.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
varint.hpp Add a comparison operators for signed_int, correct the ones for unsigned_int 2014-06-26 15:51:35 -04:00