On Mon August 31 2009, Ritesh Rekhi wrote:
> Hi All,
> 
> I want to write a SSL client which will not ack for all the data on TCP layer 
> and then close a connection i.e I want to test the tcp close when there is 
> unacknowledged data on socket.
> 
> I tried using s_client and tried to modify the code where there is:
> 
>   k=SSL_read(con,sbuf,1024 /* BUFSIZZ */ );
> 
> I tried changing the buffer size and tried adding delay after first read, but 
> looking at tcp conn on ethereal  I saw that even if my client is not reading 
> the data , the data is getting acked back.
> 

At that level, what is being ack'd is the packet, not the contents (payload).

Mike
> I will really appreciate any ideas or tools to achieve this.
> 
> Ritesh
> 
> 
> 


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to