Boost C++ Libraries: Ticket #11227: Support for unidirectional shutdown in ssl::stream https://svn.boost.org/trac10/ticket/11227 <p> In version 1.57 there is no possibility of sending "close notify" shutdown alert to the peer without waiting for peer's response. </p> <p> The motivation of such feature is that some applications won't send their "close notify" response. In particular, Internet Explorer 11 apparently does not send it's "close notify" response to the server which called boost::asio::ssl::stream::async_shutdown when server's SSL certificate is considered untrusted. As a consequence callback for async_shutdown is never called, and the web server can not shutdown connection gracefully. </p> <p> Citing OpenSSL documentation: "<em>According to the TLS standard, it is acceptable for an application to only send its shutdown alert and then close the underlying connection without waiting for the peer's response</em>"... </p> <p> Taking this into account it would be really helpful for me to have an option in the async_shutdown method which would specify type of SSL shutdown (unidirectional or bidirectional). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11227 Trac 1.4.3 Oleg Andriyanov (o.andriyanov@… Thu, 23 Apr 2015 14:41:24 GMT keywords changed https://svn.boost.org/trac10/ticket/11227#comment:1 https://svn.boost.org/trac10/ticket/11227#comment:1 <ul> <li><strong>keywords</strong> asio added </li> </ul> Ticket anonymous Mon, 27 Apr 2015 09:44:23 GMT version changed https://svn.boost.org/trac10/ticket/11227#comment:2 https://svn.boost.org/trac10/ticket/11227#comment:2 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.57.0</span> → <span class="trac-field-new">Boost 1.58.0</span> </li> </ul> Ticket viboes Tue, 28 Apr 2015 14:56:18 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11227#comment:3 https://svn.boost.org/trac10/ticket/11227#comment:3 <ul> <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> Ticket anonymous Tue, 16 Feb 2016 14:57:39 GMT <link>https://svn.boost.org/trac10/ticket/11227#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11227#comment:4</guid> <description> <p> Just as a "workaround": You can also perform an unidirectional shutdown directly by calling <code>::SSL_shutdown(socket-&gt;native_handle());</code> </p> </description> <category>Ticket</category> </item> </channel> </rss>