Hi,
 
Thanks for your reply and really it helped to fix our bug. Still I have some questions over ssl buffer. Let I put my questions below
 
1. What happens when the server keeps on writing and no data has been read from the client?, Is
      there any possibility of buffer overflow(16K)?. Please explain this senarion briefly.
 
2. Assume that during the ssl handshake we have some un read data in the ssl buffer. When the
   application is crashed or closed in the middle of the transacion will that the buffer(which holds the
   un read data ) will lead to memory leaking?.
 
3. Where the ssl have its default buffer?, either in stack or heap locations?

----- Original Message ----
From: Krishna M Singh <[EMAIL PROTECTED]>
To: openssl-users@openssl.org
Sent: Thursday, 24 August, 2006 3:08:44 PM
Subject: Re: large data read error

Hi Sendil

I am not sure but I haven't seen any such limit of 5K in my usage of
the OpenSSL.. OpenSSL record size is around 16K i remember. Can
problem be with ur server of client code (not OpenSSL) where some
buffer size is hardcoded to 5K and than return values are nto
approapriately handled.
Just a wild guess..

-Krishna
Flextronics, India

On 8/20/06, Sendil kumar <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I've got some code that seems to work, except when the server responds with
> a 'large' amount of data.
>
> When the server sends 5000 bytes of data to the client ,the client was able
> to read it and
> every thing goes fine.But when the server passes more than 5000 bytes of
> data to the client,the client
> crashes and SSL_read() gives SSL_ERROR_SSL error but no data returned.I
> tried but couldn't find any solution. please give me any solution this seems
> to be a headdacke for me.
>
> Thanks,
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]



All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine

Reply via email to