[Boost-bugs] [Boost C++ Libraries] #2617: SSL overview documentation issues

Subject: [Boost-bugs] [Boost C++ Libraries] #2617: SSL overview documentation issues
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-12-29 11:09:44


#2617: SSL overview documentation issues
------------------------------+---------------------------------------------
 Reporter: rbock_at_[hidden] | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: None
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Hi,

 I think there are two issues in the overview documentation:

 http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/overview/ssl.html


 {{{
 ssl::context ctx(io_service, ssl::context::sslv23);
 }}}

 io_service is a class. It should probably be my_io_service or similar.


 {{{
 ip::tcp::socket& sock = ssl_sock.lowest_layer();
 }}}

 This actually won't compile, because lowest layer yields a reference to
 the base type of ip::tcp::socket.

 See also http://lists.boost.org/boost-users/2008/12/43512.php (thanks to
 Igor).

 Regards,

 Roland

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2617>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC