Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2617: SSL overview documentation issues
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-12-29 11:17:42
#2617: SSL overview documentation issues
-------------------------------+--------------------------------------------
Reporter: rbock_at_[hidden] | Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: asio
Version: Boost 1.37.0 | Severity: Problem
Resolution: | Keywords: asio ssl documentation lowest_layer
-------------------------------+--------------------------------------------
Changes (by rbock_at_[hidden]):
* keywords: => asio ssl documentation lowest_layer
* owner: => chris_kohlhoff
* component: None => asio
Comment:
Ooops, forgot to set the component to asio in the original posting. Sorry
for that...
Replying to [ticket:2617 rbock_at_[hidden]]:
> 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#comment:1> 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