Vinnie Falco
|
3fbff6e620
|
beast cleanup and tidying:
* Replace custom types with C++11 <cstdint> types
* Fix sqlite integer intos and uses
* Fix String implicit integer constructors
* Escape the enclosing namespace in sqdb
* Replace contract checks with assert
* Make many header files compile independently
* Remove the dependence on beast_core.h in many places
* Remove unused or obsolete classes and functions
* Remove unused or obsolete macros
* Remove unused network functions and files
* Remove unused or obsolete classes:
- ChildProcess
- HighResolutionTimer
- InterProcessLock
- Throw
- TrackedMutex
- UntrackedMutex
- XmlDocument
- XmlElement
|
2014-03-23 15:23:55 -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
|
44445ff1b8
|
Refactor net buffers classes
|
2013-10-04 14:33:55 -07:00 |
|
Vinnie Falco
|
1a3cddc002
|
Add SharedArg and AsyncObject
|
2013-09-22 11:51:43 -07:00 |
|
Vinnie Falco
|
d2d946204c
|
Improvements to BuffersType
|
2013-09-09 10:50:35 -07:00 |
|
Vinnie Falco
|
497c8aeabf
|
Add ContentBodyBuffer
|
2013-09-07 11:53:37 -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
|
46e5dc2f5c
|
Add SSLContext
|
2013-08-25 01:57:50 -07:00 |
|
Vinnie Falco
|
b4855b6ac9
|
New beast Socket, SharedHandler, ComposedAsyncOperation APIs
|
2013-08-21 19:41:22 -07:00 |
|
Vinnie Falco
|
52ff45549d
|
Make HandlerCall operator() const
|
2013-08-18 17:21:59 -07:00 |
|
Vinnie Falco
|
918950ba49
|
Move destroy to the .cpp
|
2013-08-18 13:09:09 -07:00 |
|
Vinnie Falco
|
95cb192209
|
Clean up combinations of buffered handshaking and future returns
|
2013-08-18 03:20:57 -07:00 |
|
Vinnie Falco
|
c1bef9b35c
|
Tidy up argument types for all wrappers and call sites
|
2013-08-18 03:07:12 -07:00 |
|
Vinnie Falco
|
005672e8af
|
Remove obsolete handler wrappers
|
2013-08-18 02:35:53 -07:00 |
|
Vinnie Falco
|
e52e7d15dc
|
New Context object for composed operations and continuation hooks
|
2013-08-18 01:53:43 -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
|
4615297b00
|
Refactor handshake parsing and logic classes
|
2013-08-17 21:09:58 -07:00 |
|
Vinnie Falco
|
068cb83803
|
Generic HandshakeDetectStream and HandshakeDetectLogic
|
2013-08-17 21:09:57 -07:00 |
|
Vinnie Falco
|
e1d0bc83f4
|
Add default construction and isNull for Call handlers
|
2013-08-17 21:09:54 -07:00 |
|
Vinnie Falco
|
0ac3f826e1
|
Add 1-arity and 2-arity binding to CompletionCall
|
2013-08-17 21:09:54 -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
|
85f4d7d025
|
Move some classes into their own files
|
2013-08-15 15:45:15 -07:00 |
|