Vinnie Falco
f63cf33118
New unit_test framework:
...
* Header-only!
* No external dependencies or other beast modules
* Compilation options allow for:
- Stand-alone application to run a single test suite
- Stand-alone application to run a set of test suites
- Global suite of tests inline with the host application
- Disable test suite generation completely
* Existing tests reworked to use the new classes
2014-03-21 18:00:37 -07:00
Vinnie Falco
6546c30e17
Refactor beast::asio:
...
* New tools for completion handlers:
- wrap_handler provides composed io_service execution guarantees.
- bind_handler rebinds arguments to handlers.
- shared_handler type-erases any completion handler.
- buffer_sequence type-erases templated BufferSequences
- abstract_socket replaces Socket
- socket_wrapper replaces SocketWrapper
- beast::asio placeholders to work with std::bind
* Removed obsolete classes and functions
- AbstractHandler
- ComposedAsyncOperation
- SharedFunction
- SharedHandler
- SharedHandlerAllocator
- SharedHandlerPtr
- SharedHandlerType
- SocketBase
- SocketWrapperStrand
- wrapHandler
* Refactored classes to use new tools
- abstract_socket
- socket_wrapper
- HandshakeDetector
- HttpClientType
* Miscellanous tidying
- socket classes moved to beast::asio namespace
- beast asio files provide their own namespace declaration.
- Fix IsCallPossible conflicting template parameter name
- Use <boost/get_pointer.hpp> for C++11 compatibility.
- Remove extraneous include path from build environment.
2014-03-14 08:03:48 -07:00
Vinnie Falco
3f74cb76e9
Rename boost_asio files
2013-09-07 11:53:34 -07:00
Vinnie Falco
d9d291abcb
Tidy up includes and header material
2013-08-30 17:33:33 -07:00
Vinnie Falco
38516ef793
Tidy up beast project files
2013-08-30 17:24:32 -07:00
Vinnie Falco
b4855b6ac9
New beast Socket, SharedHandler, ComposedAsyncOperation APIs
2013-08-21 19:41:22 -07:00
Vinnie Falco
325a265a33
Add explicit checking for OpenSSL multithreading support
2013-08-18 13:09:09 -07:00
Vinnie Falco
35f53516c7
Refactor Handler wrapper to meet the safety assurances of the original Handler
2013-08-17 21:10:03 -07:00
Vinnie Falco
22b4e17fad
Allow selective enabling of async future returns
2013-08-17 21:09:56 -07:00
Vinnie Falco
52b0f65bb3
Check for macro before setting it
2013-08-17 21:09:53 -07:00
Vinnie Falco
69b20b52cc
Handshake detection wrappers
2013-08-15 15:45:17 -07:00
Vinnie Falco
7735187d36
Move PeerRole to its own file
2013-08-15 15:45:15 -07:00
Vinnie Falco
88ffd3cdfb
TestPeer boost::asio Socket and UnitTest framework
2013-08-09 19:47:12 -07:00
Vinnie Falco
01af51308e
Add SslContext abstraction
2013-08-09 19:23:40 -07:00
Vinnie Falco
33e7c124a3
Fix gcc compile errors
2013-08-07 15:16:43 -07:00
Vinnie Falco
11ff62e120
Revise all Socket function signatures and return values
2013-08-07 15:16:42 -07:00