[Boost-bugs] [Boost C++ Libraries] #5854: asio::ssl::stream holds last 16K until shutdown IF last buffer is on 16K boundary

Subject: [Boost-bugs] [Boost C++ Libraries] #5854: asio::ssl::stream holds last 16K until shutdown IF last buffer is on 16K boundary
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-01 17:02:33


#5854: asio::ssl::stream holds last 16K until shutdown IF last buffer is on 16K
boundary
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.47.0 | Severity: Showstopper
 Keywords: |
------------------------------+---------------------------------------------
 boost::asio::ssl::stream<boost::asio::ip::tcp::socket> ssl_socket

 when using boost::asio::async_write(ssl_socket,
 std::vector<boost::asio::const_buffer> ..)

 the completion handler gets called but the last 16384 bytes will never be
 sent until you call shutdown on the socket. IF the last buffer's size is
 on 16K boundaries (ie 16K, 32K...)

 (windows7 VS2010, 32 bit build), openssl 1.0.0d

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5854>
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:50:07 UTC