Issue with RST handling on server side?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with RST handling on server side?

Viswa-4
I am trying to use openssl 0.9.8 libs for SSL based
application development. I am facing a strange issue.
Whenever connection is rest on client side with RST
message from client to server, server is closed
abonrmally due to some memory corruption.

If I replace SSL calls with norms BSD socket calls I
do not absever the same.

Can some one help me on this.

Thanks
Viswa

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Issue with RST handling on server side?

Nils Larsch
Viswa wrote:

> I am trying to use openssl 0.9.8 libs for SSL based
> application development. I am facing a strange issue.
> Whenever connection is rest on client side with RST
> message from client to server, server is closed
> abonrmally due to some memory corruption.
>
> If I replace SSL calls with norms BSD socket calls I
> do not absever the same.
>
> Can some one help me on this.

sounds similar to [1]. Could you try to run the server under
valgrind [2] or another memory debugger ? Perhaps this gives
us an indication where something goes wrong.

Nils

[1] http://www.aet.tu-cottbus.de/rt2/Ticket/Display.html?id=1169
[2] in case you want to use valgrind or purify you should build
     openssl with "-DPURIFY" defined as you will get a lot of
     uninitialized memory warnings.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Issue with RST handling on server side?

Viswa-4
Thanks Nils,

I will try to run my apps under some memory debugger.
Do you know any work arounds which will fix this
issue? Do let me know.

Thanks
Viswa


--- Nils Larsch <[hidden email]> wrote:

> Viswa wrote:
> > I am trying to use openssl 0.9.8 libs for SSL
> based
> > application development. I am facing a strange
> issue.
> > Whenever connection is rest on client side with
> RST
> > message from client to server, server is closed
> > abonrmally due to some memory corruption.
> >
> > If I replace SSL calls with norms BSD socket calls
> I
> > do not absever the same.
> >
> > Can some one help me on this.
>
> sounds similar to [1]. Could you try to run the
> server under
> valgrind [2] or another memory debugger ? Perhaps
> this gives
> us an indication where something goes wrong.
>
> Nils
>
> [1]
>
http://www.aet.tu-cottbus.de/rt2/Ticket/Display.html?id=1169
> [2] in case you want to use valgrind or purify you
> should build
>      openssl with "-DPURIFY" defined as you will get
> a lot of
>      uninitialized memory warnings.
>
______________________________________________________________________
> OpenSSL Project                                
> http://www.openssl.org
> Development Mailing List                      
> [hidden email]
> Automated List Manager                          
> [hidden email]
>



               
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs 
 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [hidden email]
Automated List Manager                           [hidden email]