Commit Graph

7020 Commits

Author SHA1 Message Date
JoelKatz
55af90fb68 Slow down fetching to avoid Sorceror's Apprentice syndrome. 2013-08-18 20:42:09 -07:00
JoelKatz
dfae891018 Fix a bug that could cause us not to acquire the current ledger. 2013-08-18 20:10:32 -07:00
JoelKatz
6e0d6bdba4 Make sure checkAccept is called, unless we know we don't need to, when findCreate completed immediately 2013-08-18 19:29:55 -07:00
JoelKatz
48c4eb3ad3 Suppress a warning. 2013-08-18 19:29:45 -07:00
JoelKatz
86147a6c6b Fix one case where checkAccept didn't get called. 2013-08-18 19:10:07 -07:00
Vinnie Falco
dd3ac6a154 Make HandlerCall operator() const 2013-08-18 17:21:59 -07:00
Vinnie Falco
0df51dc9e4 Add explicit checking for OpenSSL multithreading support 2013-08-18 13:09:09 -07:00
Vinnie Falco
a110a01e0d Move destroy to the .cpp 2013-08-18 13:09:09 -07:00
Vinnie Falco
7776781560 Fix pure virtual stubs for future returns 2013-08-18 13:08:34 -07:00
Vinnie Falco
958bc5866d Disable buffered handshake API to fix variations in boost versions 2013-08-18 04:11:53 -07:00
Vinnie Falco
1eccbd5e9d Disable buffered handshake API to fix variations in boost versions 2013-08-18 04:11:23 -07:00
Vinnie Falco
48bacf189d Clean up combinations of buffered handshaking and future returns 2013-08-18 03:20:57 -07:00
Vinnie Falco
d571788172 Tidy up argument types for all wrappers and call sites 2013-08-18 03:07:12 -07:00
Vinnie Falco
2d04fc4641 Remove obsolete handler wrappers 2013-08-18 02:35:53 -07:00
Vinnie Falco
04b5c7f447 New Context object for composed operations and continuation hooks 2013-08-18 01:53:43 -07:00
Vinnie Falco
d0e4352582 Fix clang compile error 2013-08-17 22:54:43 -07:00
Vinnie Falco
f342a70fd5 [WIP] MultiSocket 2013-08-17 21:10:03 -07:00
Vinnie Falco
6a8f054b2f Refactor Handler wrapper to meet the safety assurances of the original Handler 2013-08-17 21:10:03 -07:00
Vinnie Falco
d9b1b56c98 Fatal error if a Thread is destroyed while running 2013-08-17 21:10:02 -07:00
Vinnie Falco
6616cd86ef Add ContainerDeletePolicy for ownership containers 2013-08-17 21:10:01 -07:00
Vinnie Falco
2333a38cd7 Fix thread destruction in TestPeer and better exception reporting 2013-08-17 21:10:00 -07:00
Vinnie Falco
93f983ad71 Loop through the failing unit test 2013-08-17 21:10:00 -07:00
Vinnie Falco
0a58333edc Fixes to handshake and socket wrapper 2013-08-17 21:09:59 -07:00
Vinnie Falco
191562c13c Fix incorrect future returns for pure virtuals 2013-08-17 21:09:59 -07:00
Vinnie Falco
7fe3d3dc1b Fix gcc compile 2013-08-17 21:09:59 -07:00
Vinnie Falco
15dfaeb666 Use handshake detect stream in MultiSocket 2013-08-17 21:09:58 -07:00
Vinnie Falco
4eb3504a75 Refactor handshake parsing and logic classes 2013-08-17 21:09:58 -07:00
Vinnie Falco
2ce0ada8f5 Disable buffered handshake APIs 2013-08-17 21:09:57 -07:00
Vinnie Falco
59fe53781f Add TestPeerLogicProxyClient 2013-08-17 21:09:57 -07:00
Vinnie Falco
bb941354ce Generic HandshakeDetectStream and HandshakeDetectLogic 2013-08-17 21:09:57 -07:00
Vinnie Falco
0feccfd7b0 MultiSocket with ssl handshake detection 2013-08-17 21:09:56 -07:00
Vinnie Falco
461a710738 Allow selective enabling of async future returns 2013-08-17 21:09:56 -07:00
Vinnie Falco
4c605a79b7 Rename to max_needed for clarity 2013-08-17 21:09:55 -07:00
Vinnie Falco
4952ea2707 Add class PrefilledReadStream 2013-08-17 21:09:55 -07:00
Vinnie Falco
b064f66ea2 Fix async_result returns and handler copying 2013-08-17 21:09:55 -07:00
Vinnie Falco
7cf0ce22b1 Add default construction and isNull for Call handlers 2013-08-17 21:09:54 -07:00
Vinnie Falco
d22b236d2d Add 1-arity and 2-arity binding to CompletionCall 2013-08-17 21:09:54 -07:00
Vinnie Falco
462a1394d7 Add this_layer and this_layer_type to SocketWrapper 2013-08-17 21:09:53 -07:00
Vinnie Falco
9bfd8c923d Check for macro before setting it 2013-08-17 21:09:53 -07:00
Vinnie Falco
8c65adbffe Tidy up move obsolete and deprecated files 2013-08-17 21:09:53 -07:00
JoelKatz
fe1b8d253c Don't tolerate failed ledger acquires in the publication stream. 2013-08-16 23:22:33 -07:00
JoelKatz
39caac637c Typo. 2013-08-16 18:50:33 -07:00
JoelKatz
c98b24dbe6 Missing comma. 2013-08-16 18:41:47 -07:00
JoelKatz
6eec84144a A better fix for countAccountTxs. 2013-08-16 18:12:33 -07:00
JoelKatz
eb121e9312 Revert "Fix 'NetworkOPs::countAccountTxs' taking way too long."
This reverts commit ff127d2b25.
A new fix is in development.
2013-08-16 17:50:30 -07:00
Vinnie Falco
44aa45f307 Set version to 0.12.0-rc3 2013-08-16 17:47:29 -07:00
JoelKatz
ff127d2b25 Fix 'NetworkOPs::countAccountTxs' taking way too long. 2013-08-16 17:40:28 -07:00
Vinnie Falco
9bc96bc558 Fix missing return value 2013-08-16 10:43:31 -07:00
Vinnie Falco
724cb5df7b Set version to 0.12.0-rc2 2013-08-15 22:02:26 -07:00
JoelKatz
eb3bf3b8cd Make sure we keep publishing ledgers while filling a gap from the database. 2013-08-15 21:54:17 -07:00