Boost C++ Libraries: Ticket #9261: ssl alert are not being sent during handshake failure https://svn.boost.org/trac10/ticket/9261 <p> According to the SSL protocol alert messages should (and must) be sent under certain circumstances if SSL-handshake fails. When inspecting the network traffic with wireshark during SSL-handshake failure it seems like these messages are being sent. </p> <p> When debugging asio and OpenSSL one can see that OpenSSL do indeed write alert messages (as expected) to the buffers asio has set up, but asio do not write them to the socket. </p> <p> If SSL-handshake fails, OpenSSL writes alert message to asio buffers AND sets error code to SSL_ERROR_SSL. The function perform in the source code file asio/ssl/detail/impl/engine.ipp returns want_nothing if error is SSL_ERROR_SSL, which causes asio not to write data to the socket. </p> <p> This is tested on CentOS 6.4 x86_64. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9261 Trac 1.4.3 Joakim Goldkuhl <joakim@…> Fri, 18 Oct 2013 09:25:28 GMT attachment set https://svn.boost.org/trac10/ticket/9261 https://svn.boost.org/trac10/ticket/9261 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">main.cpp</span> </li> </ul> <p> code to set up ssl client/server handshake failure </p> Ticket pieter@… Tue, 22 Jul 2014 10:30:52 GMT <link>https://svn.boost.org/trac10/ticket/9261#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9261#comment:1</guid> <description> <p> When will this be fixed? Not working according to RFC is a blocker... </p> </description> <category>Ticket</category> </item> </channel> </rss>