Boost logo

Boost :

From: EMalenfant_at_[hidden]
Date: 2006-07-13 15:52:50

From: viktor kougitko [mailto:klug_at_[hidden]]
> From: "Scott" <cheesy4poofs_at_[hidden]>
> > It all seemed great at first, because it seemed to
> > seemlessly work.
> > But eventually the communications break down. I either get
> >asserts in
> > my code from unexpected data in the stream, or the client hangs
> > waiting for data that never appears or any of several
> >different stream
> > problems. It's rarely the exact same thing. But it
> >eventually always
> > fails. Especially on long sustained transfers.
> >
> it seems that problem with buffer sizes try to change
> asio/ssl/detail/openssl_stream_service.hpp
> openssl_stream_service::create
> ::BIO_new_bio_pair(&int_bio, 3*8192, &impl->ext_bio, 3*8192);
> it helps in my case

I know next to nothing about asio's SSL implementation, but this reference
to buffer sizes reminds me of a problem that we saw in a previous version of

The fix in that case was to enable partial writes in open ssl, using
SSL_set_mode to enable SSL_MODE_ENABLE_PARTIAL_WRITE and



Boost list run by bdawes at, gregod at, cpdaniel at, john at