"kaushik_vishwakarma" <[EMAIL PROTECTED]> writes:

> [1  <text/plain; us-ascii (7bit)>]
> hi,
> 
> 
>   the specification of ssl says that in the record layer messages
>   can get coalesced. But i did not see this happening in my test
>   program. my test program had one server and one client. the server
>   after accepting connection reads 16 kb of data at a time. The
>   client sends two messages both more than 16 kb in size but not
>   multiple of it. The messages are written one after the other
>   simulteneously. If it get coalesced then while reading the second
>   part of the first message should also contain some of the first
>   part of the second message like what happends in normal tcp.
> 
> 
> Is this behaviour normal. I could not find any document which says
> this is guaranteed that the messages wont coalesce. Could anyone
> clear my doubt please.
While SSL CAN coalesce data, in general implementations don't coalesce
user writes, in order to avoid confused programmers :)

-Ekr

-- 
[Eric Rescorla                                   [EMAIL PROTECTED]]
                http://www.rtfm.com/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to