SSL_read preserving message boundaries.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux