Boost C++ Libraries: Ticket #2617: SSL overview documentation issues https://svn.boost.org/trac10/ticket/2617 <p> Hi, </p> <p> I think there are two issues in the overview documentation: </p> <p> <a href="http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/overview/ssl.html">http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/overview/ssl.html</a> </p> <pre class="wiki">ssl::context ctx(io_service, ssl::context::sslv23); </pre><p> io_service is a class. It should probably be my_io_service or similar. </p> <pre class="wiki">ip::tcp::socket&amp; sock = ssl_sock.lowest_layer(); </pre><p> This actually won't compile, because lowest layer yields a reference to the base type of ip::tcp::socket. </p> <p> See also <a class="ext-link" href="http://lists.boost.org/boost-users/2008/12/43512.php"><span class="icon">​</span>http://lists.boost.org/boost-users/2008/12/43512.php</a> (thanks to Igor). </p> <p> Regards, </p> <p> Roland </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2617 Trac 1.4.3 rbock@… Mon, 29 Dec 2008 11:17:42 GMT component changed; keywords, owner set https://svn.boost.org/trac10/ticket/2617#comment:1 https://svn.boost.org/trac10/ticket/2617#comment:1 <ul> <li><strong>keywords</strong> asio ssl documentation lowest_layer added </li> <li><strong>owner</strong> set to <span class="trac-author">chris_kohlhoff</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">asio</span> </li> </ul> <p> Ooops, forgot to set the component to asio in the original posting. Sorry for that... </p> <p> Replying to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2617" title="#2617: Bugs: SSL overview documentation issues (closed: fixed)">rbock@eudoxos.de</a>: </p> <blockquote class="citation"> <p> Hi, </p> <p> I think there are two issues in the overview documentation: </p> <p> <a href="http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/overview/ssl.html">http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/overview/ssl.html</a> </p> <pre class="wiki">ssl::context ctx(io_service, ssl::context::sslv23); </pre><p> io_service is a class. It should probably be my_io_service or similar. </p> <pre class="wiki">ip::tcp::socket&amp; sock = ssl_sock.lowest_layer(); </pre><p> This actually won't compile, because lowest layer yields a reference to the base type of ip::tcp::socket. </p> <p> See also <a class="ext-link" href="http://lists.boost.org/boost-users/2008/12/43512.php"><span class="icon">​</span>http://lists.boost.org/boost-users/2008/12/43512.php</a> (thanks to Igor). </p> <p> Regards, </p> <p> Roland </p> </blockquote> Ticket chris_kohlhoff Sun, 01 Feb 2009 13:42:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2617#comment:2 https://svn.boost.org/trac10/ticket/2617#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/50950" title="Fix errors in SSL overview and add a note about handshaking. Fixes ...">[50950]</a>) Fix errors in SSL overview and add a note about handshaking. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2617" title="#2617: Bugs: SSL overview documentation issues (closed: fixed)">#2617</a> and <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2619" title="#2619: Bugs: SSL overview documentation: handshake missing (closed: fixed)">#2619</a>. </p> Ticket chris_kohlhoff Wed, 04 Feb 2009 06:22:51 GMT <link>https://svn.boost.org/trac10/ticket/2617#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2617#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/51004" title="Merged revisions 50943-50950,50961-50964,50987 via svnmerge from ...">[51004]</a>) Merged revisions 50943-50950,50961-50964,50987 via svnmerge from <a class="ext-link" href="https://svn.boost.org/svn/boost/trunk"><span class="icon">​</span>https://svn.boost.org/svn/boost/trunk</a> </p> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50943" title="Need to specify socket lib to link correctly on QNX. Fixes #2504. ">r50943</a> | chris_kohlhoff | 2009-02-01 22:37:18 +1100 (Sun, 01 Feb 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Need to specify socket lib to link correctly on QNX. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2504" title="#2504: Patches: asio tests need to be linked to socket lib on QNX 6 (closed: fixed)">#2504</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50944" title="Use correct size for IP_MULTICAST_LOOP option on QNX. Fixes #2530. ">r50944</a> | chris_kohlhoff | 2009-02-01 22:42:09 +1100 (Sun, 01 Feb 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Use correct size for IP_MULTICAST_LOOP option on QNX. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2530" title="#2530: Patches: Size of data for IP_MULTICAST_LOOP socket option incorrect on QNX 6.4.0 (closed: fixed)">#2530</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50945" title="Improve warning message when _WIN32_WINNT is not correctly defined. ...">r50945</a> | chris_kohlhoff | 2009-02-01 22:57:01 +1100 (Sun, 01 Feb 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Improve warning message when _WIN32_WINNT is not correctly defined. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2541" title="#2541: Bugs: Asio not working on windows due to QueueUserAPC missing in global namespace (closed: fixed)">#2541</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50946" title="Suppress unused result warning. Fixes #2534. ">r50946</a> | chris_kohlhoff | 2009-02-01 23:28:12 +1100 (Sun, 01 Feb 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Suppress unused result warning. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2534" title="#2534: Bugs: Removing gcc warning (closed: fixed)">#2534</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50947" title="Ensure arguments to windows::overlapped_ptr::complete() are passed ...">r50947</a> | chris_kohlhoff | 2009-02-01 23:41:01 +1100 (Sun, 01 Feb 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Ensure arguments to windows::overlapped_ptr::complete() are passed through to the completion handler. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2614" title="#2614: Bugs: asio overlapped_ptr::complete ignores arguments (closed: fixed)">#2614</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50948" title="Add include of &lt;cstring&gt; to fix a compile error on Solaris 10. Fixes ...">r50948</a> | chris_kohlhoff | 2009-02-01 23:50:08 +1100 (Sun, 01 Feb 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Add include of &lt;cstring&gt; to fix a compile error on Solaris 10. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2607" title="#2607: Bugs: asio compilation error on solaris 10 (closed: fixed)">#2607</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50949" title="Clear the last error following a successful Windows API call, since ...">r50949</a> | chris_kohlhoff | 2009-02-02 00:25:05 +1100 (Mon, 02 Feb 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Clear the last error following a successful Windows API call, since some socket providers may leave last error set even when the call succeeds. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50950" title="Fix errors in SSL overview and add a note about handshaking. Fixes ...">r50950</a> | chris_kohlhoff | 2009-02-02 00:42:33 +1100 (Mon, 02 Feb 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fix errors in SSL overview and add a note about handshaking. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2617" title="#2617: Bugs: SSL overview documentation issues (closed: fixed)">#2617</a> and <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2619" title="#2619: Bugs: SSL overview documentation: handshake missing (closed: fixed)">#2619</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50961" title="Use a pipe if eventfd is not supported at runtime. Fixes #2683. ">r50961</a> | chris_kohlhoff | 2009-02-02 17:18:59 +1100 (Mon, 02 Feb 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Use a pipe if eventfd is not supported at runtime. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2683" title="#2683: Bugs: eventfd_select_interrupter: Function not implemented (closed: fixed)">#2683</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50962" title="Add link to asio wiki. ">r50962</a> | chris_kohlhoff | 2009-02-02 18:06:00 +1100 (Mon, 02 Feb 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Add link to asio wiki. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50963" title="Use the workaround syntax for specifying a return type with ...">r50963</a> | chris_kohlhoff | 2009-02-02 20:36:11 +1100 (Mon, 02 Feb 2009) | 4 lines </p> </blockquote> <p> </p> <blockquote> <p> Use the workaround syntax for specifying a return type with boost::bind. Needed for the SSL support to work on some older compilers (in particular, g++ 3.4.5 as used with MinGW). </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50964" title="Update asio version number. ">r50964</a> | chris_kohlhoff | 2009-02-02 20:37:10 +1100 (Mon, 02 Feb 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Update asio version number. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/50987" title="Fix generated documentation where the overloads of a function have ...">r50987</a> | chris_kohlhoff | 2009-02-03 22:00:39 +1100 (Tue, 03 Feb 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fix generated documentation where the overloads of a function have different brief descriptions. </p> </blockquote> <p> ........ </p> </description> <category>Ticket</category> </item> </channel> </rss>