peerplays-fc/src/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.cpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
console.cpp fix console 2014-03-21 01:14:01 -04:00
datastream.cpp Fix error message printed when unable to deserialize a json object, improve 2014-05-06 17:20:04 -04:00
fstream.cpp [BW]: [Fix] Fixed ifstream/ofstream to be able to open unicode paths. 2014-01-09 17:00:41 +01:00
iostream.cpp Allow us to safely cancel tasks that are executing asynchronous network reads 2014-09-09 11:10:37 -04:00
json.cpp Make the JSON parser less fragile 2014-09-08 10:12:42 -04:00
sstream.cpp Fix issue #25 2014-05-20 19:17:19 +08:00
varint.cpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00