Skip to content

Commit

Permalink
docs: write a more detailed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
deniskovalchuk committed Jul 28, 2024
1 parent fd1423a commit 4a9b1b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/ftp/ssl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ namespace ftp::ssl
using namespace boost::asio::ssl;
using context_ptr = std::unique_ptr<context>;

/* ssl_session_resumption - Configures SSL session resumption. The SSL session
* of control connection will be reused for data connections.
/* Creates a new SSL context.
* method - Like in Boost.Asio.
* ssl_session_resumption - Configures the SSL session resumption. The SSL session of
* control connection will be reused for data connections.
*/
context_ptr create_context(context::method method, bool ssl_session_resumption = false);

Expand Down

0 comments on commit 4a9b1b3

Please sign in to comment.