[openssl-users] SSL_read preserving message boundaries.

dE de.techno at gmail.com
Sun Mar 8 05:11:57 UTC 2015

On 03/07/15 22:33, Dr. Stephen Henson wrote:
> On Sat, Mar 07, 2015, dE wrote:
>> Suppose, I write a small amount of data with SSL_write. Will openssl
>> accumulate these writes to make a single big fragment and then send
>> it, or will it send it the moment it receives the data, as a single
>> fragment?
> No it tries to send the data with each call. That's because you might (for
> example) be using a character mode application which should send each keypress
> as soon as possible.
> If you use BIOs you can make use of a buffering BIO which will accumulate
> writes until either the buffer is full or you explicitly flush it.
> Steve.
> --
> Dr Stephen N. Henson. OpenSSL project core developer.
> Commercial tech support now available see: http://www.openssl.org
> _______________________________________________
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Thanks, I'll try this.

More information about the openssl-users mailing list