Peter Conrad
579914c84d
Removed unused stuff
2019-04-04 17:59:51 +02:00
Peter Conrad
afcb1e3543
Moved do_parallel to fc::thread-based worker pool implementation
2018-10-03 21:25:10 +02:00
Peter Conrad
21724face7
Give asio threads separate names for better debugging
2018-10-03 21:17:33 +02:00
John M. Jones
0d689a4894
Remove hard coded number of IO threads ( #47 )
...
This allows for control of the number of IO threads before their creation
2018-05-16 09:44:23 -07:00
John Jones
3661e835f8
Removed unused parameter
2018-05-04 11:05:20 -05:00
Eric Frias
751777e754
Fix more locations where we were making boost::asio calls with buffers declared on the stack which could cause problems when the calling tasks were canceled.
2014-09-11 16:30:03 -04:00
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
Daniel Larimer
eed62c8338
sockets now wait for any pending write or read operations to finish before destructing
2014-07-17 17:03:25 -04:00
Eric Frias
ce7139c073
Start of work towards throttling TCP connections
2014-04-17 12:00:52 -04:00
Daniel Larimer
57e5796839
clean up exception handling on asio / sockets
2013-07-14 17:58:27 -04:00
Daniel Larimer
59a121d64b
Updating FC with changes from phoenix-int
2013-06-05 15:19:00 -04:00
Daniel Larimer
38f97ef61a
fix json rpc server memory leak
2013-01-11 09:12:53 -05:00
Daniel Larimer
018609fafa
moving more functions from mace to fc
2012-09-08 23:46:19 -04:00
Daniel Larimer
34e33d058b
adding sha1 and hex methods...
2012-09-08 02:41:28 -04:00