Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tidy up StreamCore as an implementation detail of Stream | Hannes Rantzsch | 2019-04-26 | 4 | -132/+131 |
| | |||||
* | start restructuring asio stream headers | Hannes Rantzsch | 2019-04-24 | 8 | -374/+202 |
| | | | | | | | | | | | | | | | StreamCore is now a nested class of Stream and will soon be hidden from the public interface. The goal is to offer buffer-handling methods (like CopyReceivedData) directly in Steam and have StreamCore be responsible for Botan::TLS::Callbacks implementation only. This will remove the need to provide StreamCore as a parameter for Async Ops construction. StreamBase has been removed. Stream no longer decides whether it is a Client or a Server when constructed, but when performing the handshake. This resembles the interface of boost::asio::ssl::stream and hides the implementation detail from the user. In order to allow testing with mocked TLS::Channels anyways, we use SPHINAE to setup either a real channel or a mocked channel. | ||||
* | remove convertException entirely | Hannes Rantzsch | 2019-04-23 | 4 | -36/+73 |
| | |||||
* | use ErrorType instead of TLS::error and remove convert_exceptions header | Hannes Rantzsch | 2019-04-23 | 10 | -238/+115 |
| | |||||
* | minor beautifications in asio_stream unit test | Hannes Rantzsch | 2019-04-23 | 1 | -12/+3 |
| | |||||
* | use existing TLS::Connection_Side instead of handshake_type | Hannes Rantzsch | 2019-04-23 | 3 | -42/+32 |
| | |||||
* | use class instead of struct | Hannes Rantzsch | 2019-04-23 | 5 | -5/+10 |
| | |||||
* | remove superfluous #ifdef guards | Hannes Rantzsch | 2019-04-23 | 10 | -30/+0 |
| | |||||
* | review: low hanging fruits | Hannes Rantzsch | 2019-04-16 | 5 | -26/+30 |
| | |||||
* | Apply comment suggestions from code review | René Meusel | 2019-04-16 | 4 | -5/+8 |
| | | | Co-Authored-By: hrantzsch <[email protected]> | ||||
* | include build.h in all headers to make sure definitions are available | Hannes Rantzsch | 2019-04-16 | 11 | -0/+22 |
| | |||||
* | documentation and minor fixes for async ops | Hannes Rantzsch | 2019-04-16 | 8 | -88/+156 |
| | |||||
* | add doxygen preprocessor definitions do build asio_stream docs | Hannes Rantzsch | 2019-04-16 | 1 | -1/+4 |
| | |||||
* | fix: require boost 1.66 | Hannes Rantzsch | 2019-04-16 | 11 | -11/+11 |
| | |||||
* | FIX: async_base immediate completion | Hannes Rantzsch | 2019-04-16 | 1 | -1/+1 |
| | | | | see boostorg/beast#1557 | ||||
* | FIX: do not block when reading into zero-sized buffer | Hannes Rantzsch | 2019-04-16 | 2 | -3/+58 |
| | |||||
* | use boost::beast::flat_buffer instead of our own buffer type in core | Hannes Rantzsch | 2019-04-16 | 1 | -25/+16 |
| | |||||
* | handle exceptions directly where native_handle is used | Hannes Rantzsch | 2019-04-16 | 1 | -42/+33 |
| | |||||
* | improve constructor interface of Stream | Hannes Rantzsch | 2019-04-16 | 6 | -133/+165 |
| | |||||
* | add docs for asio_stream.h pulblic functions | Tim Oesterreich | 2019-04-16 | 1 | -0/+128 |
| | |||||
* | async_write_some returns amount of bytes commited to the core, instead of ↵ | Tim Oesterreich | 2019-04-16 | 4 | -5/+13 |
| | | | | bytes sent on the wire; do not use boost::asio::async_read/write | ||||
* | async ops will now call operator() from their constructor -> initiating ↵ | Tim Oesterreich | 2019-04-16 | 5 | -32/+25 |
| | | | | functions do not have to call async_read/write anymore | ||||
* | do not call completion_handler directly; allow async ops to be constructed ↵ | Tim Oesterreich | 2019-04-16 | 4 | -25/+35 |
| | | | | with optional error_code | ||||
* | add tests for throws from Botan::TLS::Channel | Tim Oesterreich | 2019-04-16 | 1 | -6/+177 |
| | |||||
* | don't pass int to size_t | Tim Oesterreich | 2019-04-16 | 1 | -3/+3 |
| | |||||
* | factor out template-independent code | Tim Oesterreich | 2019-04-16 | 1 | -37/+47 |
| | |||||
* | properly handle iterator access | Tim Oesterreich | 2019-04-16 | 1 | -5/+7 |
| | |||||
* | ensure boost version > 1.66.0 | Tim Oesterreich | 2019-04-16 | 11 | -11/+81 |
| | |||||
* | improve tests | Tim Oesterreich | 2019-04-16 | 1 | -71/+79 |
| | |||||
* | review: minor changes | Hannes Rantzsch | 2019-04-16 | 2 | -7/+5 |
| | |||||
* | remove unnecessary include | Tim Oesterreich | 2019-04-16 | 1 | -2/+0 |
| | |||||
* | store error code across yield | Tim Oesterreich | 2019-04-16 | 3 | -14/+15 |
| | |||||
* | review: use asio stackless coroutines instead of expensive template ↵ | Tim Oesterreich | 2019-04-16 | 5 | -89/+124 |
| | | | | instantiations | ||||
* | review: adapt naming to network TS | Tim Oesterreich | 2019-04-16 | 1 | -9/+9 |
| | |||||
* | code comments | Tim Oesterreich | 2019-04-16 | 3 | -5/+7 |
| | |||||
* | improve async ops | Hannes Rantzsch | 2019-04-16 | 6 | -66/+149 |
| | |||||
* | do not use make_error_code and smaller PR review issues | Tim Oesterreich | 2019-04-16 | 6 | -64/+71 |
| | |||||
* | review: use specific buffer type where applicable | Tim Oesterreich | 2019-04-16 | 6 | -41/+42 |
| | |||||
* | catch std::exception rather than (...) and exceptions as const | Hannes Rantzsch | 2019-04-16 | 4 | -32/+32 |
| | |||||
* | review: c'tors and handler type deduction in async ops | Hannes Rantzsch | 2019-04-16 | 4 | -114/+73 |
| | |||||
* | use boost::beast::test::stream for all asio tests | Tim Oesterreich | 2019-04-16 | 1 | -363/+157 |
| | |||||
* | cleanup asio stream tests | Hannes Rantzsch | 2019-04-16 | 1 | -135/+59 |
| | |||||
* | fix and extend tests | Hannes Rantzsch | 2019-04-16 | 1 | -33/+165 |
| | |||||
* | fix #6: write_some to buffer_sequence | Hannes Rantzsch | 2019-04-16 | 1 | -15/+25 |
| | |||||
* | FIX: reference to temporary | Hannes Rantzsch | 2019-04-16 | 1 | -1/+1 |
| | |||||
* | add documentation | René Meusel | 2019-04-16 | 2 | -10/+22 |
| | |||||
* | cleanup asio::ssl::stream compatibility interfaces | Hannes Rantzsch | 2019-04-16 | 3 | -83/+98 |
| | |||||
* | cleanup async ops | Hannes Rantzsch | 2019-04-16 | 3 | -9/+7 |
| | |||||
* | don't call async_write handler directly | Hannes Rantzsch | 2019-04-16 | 2 | -7/+8 |
| | |||||
* | fix: compile with gcc | Hannes Rantzsch | 2019-04-16 | 1 | -25/+25 |
| |