diff options
author | René Meusel <[email protected]> | 2019-04-16 09:48:29 +0200 |
---|---|---|
committer | Hannes Rantzsch <[email protected]> | 2019-04-16 10:48:25 +0200 |
commit | ff9c69b03ba021cf1b00ae792639c9f66e9ae8c8 (patch) | |
tree | 426a2ce4cb3e015e48f64e9242e9b7aa672d63cd /src/lib/tls/asio/asio_stream.h | |
parent | 7a75e9bec625d510b106c1065a4c9c9a7edb131f (diff) |
Apply comment suggestions from code review
Co-Authored-By: hrantzsch <[email protected]>
Diffstat (limited to 'src/lib/tls/asio/asio_stream.h')
-rw-r--r-- | src/lib/tls/asio/asio_stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/tls/asio/asio_stream.h b/src/lib/tls/asio/asio_stream.h index 46c1e37a6..6d69d5392 100644 --- a/src/lib/tls/asio/asio_stream.h +++ b/src/lib/tls/asio/asio_stream.h @@ -549,7 +549,8 @@ class Stream : public StreamBase<Channel> { std::size_t sent = 0; // NOTE: This is not asynchronous: it encrypts the data synchronously. - // Only writing to the socket is asynchronous. + // The data encrypted by native_handle()->send() is synchronously stored in the send_buffer of m_core, + // but is not actually written to the wire, yet. for(auto it = boost::asio::buffer_sequence_begin(buffers); it != boost::asio::buffer_sequence_end(buffers); it++) |