Commit Graph

53 Commits

Author SHA1 Message Date
Vinnie Falco
647acebdbf New beast Socket, SharedHandler, ComposedAsyncOperation APIs 2013-08-21 19:41:22 -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
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
e2b0df5f1d Refactor SocketWrapper 2013-08-15 16:57:46 -07:00
Vinnie Falco
ab0b610424 Improvements to TestPeer and PeerTest classes 2013-08-15 16:57:45 -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
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
4073c99bdb Disable failing TestPeer unit test 2013-08-10 00:46:33 -07:00
Vinnie Falco
58b0c0ef34 Fix c++0x errors 2013-08-10 00:45:40 -07:00
Vinnie Falco
d4d741cd62 Use deadline_timer to handle async logic properly 2013-08-09 23:14:58 -07:00
Vinnie Falco
4d93e0972c Tidy up beast_asio 2013-08-09 20:53:49 -07:00
Vinnie Falco
a277fc3fbb Fix gcc warnings and errors 2013-08-09 19:59:59 -07:00
Vinnie Falco
405c9be337 TestPeer boost::asio Socket and UnitTest framework 2013-08-09 19:47:12 -07:00
Vinnie Falco
7c7fcde596 Clean up rvalues in arguments and call sites 2013-08-09 19:23:40 -07:00
Vinnie Falco
748cc7773a Add SslContext abstraction 2013-08-09 19:23:40 -07:00
Vinnie Falco
d8d0b63f88 Fix using BOOST_ASIO_MOVE_CAST for passing rvalue references 2013-08-07 19:14:21 -07:00
Vinnie Falco
071b404f80 Fix use sites of BOOST_ASIO_MOVE_ARG 2013-08-07 18:42:19 -07:00
Vinnie Falco
cd4961f017 Fix gcc compile errors 2013-08-07 15:16:43 -07:00