Commit Graph

261 Commits

Author SHA1 Message Date
Vinnie Falco
578fee5f74 Fix ProtectedCall default handler 2013-08-20 15:22:21 -07:00
JoelKatz
48c4eb3ad3 Suppress a warning. 2013-08-18 19:29:45 -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
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
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
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
4eb3504a75 Refactor handshake parsing and logic classes 2013-08-17 21:09:58 -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
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
Vinnie Falco
9bc96bc558 Fix missing return value 2013-08-16 10:43:31 -07:00
Vinnie Falco
8950fcd47b Fix server to block until listening 2013-08-15 19:00:19 -07:00
Vinnie Falco
e3024c9942 Fix rvalue move arguments 2013-08-15 19:00:19 -07:00
Vinnie Falco
4366aa80df Make KeyvaDB unit tests run manually 2013-08-15 16:57:49 -07:00
Vinnie Falco
3f26543d6a Report notes for issue #1 2013-08-15 16:57:46 -07:00
Vinnie Falco
e2b0df5f1d Refactor SocketWrapper 2013-08-15 16:57:46 -07:00
Vinnie Falco
d2a61ee7f0 Add BEAST_DEFINE_IS_CALL_POSSIBLE metaprogramming macro 2013-08-15 16:57:45 -07:00
Vinnie Falco
ab0b610424 Improvements to TestPeer and PeerTest classes 2013-08-15 16:57:45 -07:00
Vinnie Falco
a7cb7f23a4 Consolidate Process::terminate code 2013-08-15 15:45:18 -07:00
Vinnie Falco
17c6157c29 Remove spaces from unit test package and class names 2013-08-15 15:45:17 -07:00
Vinnie Falco
b62789ead8 Handshake detection wrappers 2013-08-15 15:45:17 -07:00
Vinnie Falco
0ef9dd7bdf Infinite PeerTest timeout when debugger attached 2013-08-15 15:45:17 -07:00
Vinnie Falco
75b3b6bbfe Add uint24 and network byte order conversions 2013-08-15 15:45:16 -07:00
Vinnie Falco
b4d0de9c61 Add some missing ByteOrder functions and templates 2013-08-15 15:45:16 -07:00
Vinnie Falco
26bb91a873 Move PeerRole to its own file 2013-08-15 15:45:15 -07:00
Vinnie Falco
60935368a3 Move some classes into their own files 2013-08-15 15:45:15 -07:00
Vinnie Falco
10e7d436b1 Add PROXY TestPeer client 2013-08-15 15:45:15 -07:00
Vinnie Falco
c202386a79 Robust method for extracting the underlying template type 2013-08-15 15:45:14 -07:00
Vinnie Falco
95ec3f4db5 Import ProxyHandshake into beast 2013-08-15 15:45:14 -07:00
Vinnie Falco
ab207fa835 Fix unused variable warning 2013-08-15 08:31:13 -07:00