aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls
Commit message (Collapse)AuthorAgeFilesLines
* review: buffer accessors visibility, ignore ALERT::CLOSE_NOTIFY, docsHannes Rantzsch2019-04-292-72/+74
|
* simplify read_some and shutdownHannes Rantzsch2019-04-261-36/+23
|
* simplify error_code handling for handshake and writeHannes Rantzsch2019-04-261-39/+16
|
* Further cleanup of asio stream header filesHannes Rantzsch2019-04-269-600/+473
| | | | | | | * all async ops are now collected in one header and moved to the detail namespace * error categories are no longer a detail, as they are visible to the user * more documentation in asio_stream.h * remove asio_includes.h helper header
* tidy up StreamCore as an implementation detail of StreamHannes Rantzsch2019-04-264-132/+131
|
* start restructuring asio stream headersHannes Rantzsch2019-04-247-319/+176
| | | | | | | | | | | | | | | 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 entirelyHannes Rantzsch2019-04-234-36/+73
|
* use ErrorType instead of TLS::error and remove convert_exceptions headerHannes Rantzsch2019-04-237-232/+43
|
* use existing TLS::Connection_Side instead of handshake_typeHannes Rantzsch2019-04-232-31/+24
|
* use class instead of structHannes Rantzsch2019-04-235-5/+10
|
* remove superfluous #ifdef guardsHannes Rantzsch2019-04-2310-30/+0
|
* review: low hanging fruitsHannes Rantzsch2019-04-165-26/+30
|
* Apply comment suggestions from code reviewRené Meusel2019-04-164-5/+8
| | | Co-Authored-By: hrantzsch <[email protected]>
* include build.h in all headers to make sure definitions are availableHannes Rantzsch2019-04-1611-0/+22
|
* documentation and minor fixes for async opsHannes Rantzsch2019-04-167-80/+149
|
* fix: require boost 1.66Hannes Rantzsch2019-04-1610-10/+10
|
* FIX: async_base immediate completionHannes Rantzsch2019-04-161-1/+1
| | | | see boostorg/beast#1557
* FIX: do not block when reading into zero-sized bufferHannes Rantzsch2019-04-161-3/+6
|
* use boost::beast::flat_buffer instead of our own buffer type in coreHannes Rantzsch2019-04-161-25/+16
|
* handle exceptions directly where native_handle is usedHannes Rantzsch2019-04-161-42/+33
|
* improve constructor interface of StreamHannes Rantzsch2019-04-165-38/+64
|
* add docs for asio_stream.h pulblic functionsTim Oesterreich2019-04-161-0/+128
|
* async_write_some returns amount of bytes commited to the core, instead of ↵Tim Oesterreich2019-04-163-4/+12
| | | | bytes sent on the wire; do not use boost::asio::async_read/write
* async ops will now call operator() from their constructor -> initiating ↵Tim Oesterreich2019-04-165-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 Oesterreich2019-04-164-25/+35
| | | | with optional error_code
* don't pass int to size_tTim Oesterreich2019-04-161-3/+3
|
* factor out template-independent codeTim Oesterreich2019-04-161-37/+47
|
* properly handle iterator accessTim Oesterreich2019-04-161-5/+7
|
* ensure boost version > 1.66.0Tim Oesterreich2019-04-1610-10/+76
|
* review: minor changesHannes Rantzsch2019-04-162-7/+5
|
* remove unnecessary includeTim Oesterreich2019-04-161-2/+0
|
* store error code across yieldTim Oesterreich2019-04-163-14/+15
|
* review: use asio stackless coroutines instead of expensive template ↵Tim Oesterreich2019-04-165-89/+124
| | | | instantiations
* review: adapt naming to network TSTim Oesterreich2019-04-161-9/+9
|
* code commentsTim Oesterreich2019-04-163-5/+7
|
* improve async opsHannes Rantzsch2019-04-166-66/+149
|
* do not use make_error_code and smaller PR review issuesTim Oesterreich2019-04-165-62/+63
|
* review: use specific buffer type where applicableTim Oesterreich2019-04-165-25/+26
|
* catch std::exception rather than (...) and exceptions as constHannes Rantzsch2019-04-164-32/+32
|
* review: c'tors and handler type deduction in async opsHannes Rantzsch2019-04-164-114/+73
|
* fix #6: write_some to buffer_sequenceHannes Rantzsch2019-04-161-15/+25
|
* FIX: reference to temporaryHannes Rantzsch2019-04-161-1/+1
|
* add documentationRené Meusel2019-04-162-10/+22
|
* cleanup asio::ssl::stream compatibility interfacesHannes Rantzsch2019-04-162-77/+81
|
* cleanup async opsHannes Rantzsch2019-04-163-9/+7
|
* don't call async_write handler directlyHannes Rantzsch2019-04-162-7/+8
|
* FIX: add legal informationRené Meusel2019-04-169-0/+72
|
* rename member variables like 'm_***'René Meusel2019-04-166-107/+108
|
* move stream implemention into TLS namespaceRené Meusel2019-04-168-54/+96
|
* move stream implementation to tls subdirRené Meusel2019-04-1610-0/+1139
|