RE: SSL_shutdown never returns 1

2009-05-19 Thread Andy Murphy
t;leak". > -Original Message- > From: owner-openssl-us...@openssl.org [mailto:owner-openssl- > us...@openssl.org] On Behalf Of Kyle Hamilton > Sent: 19 May 2009 12:49 > To: openssl-users@openssl.org > Subject: Re: SSL_shutdown never returns 1 > > When you get an

Re: SSL_shutdown never returns 1

2009-05-19 Thread Kyle Hamilton
; Thanks for any help you can give. > > Andy > > >> -Original Message- >> From: owner-openssl-us...@openssl.org [mailto:owner-openssl- >> us...@openssl.org] On Behalf Of Kyle Hamilton >> Sent: 14 May 2009 18:10 >> To: openssl-users@openssl.org >

RE: SSL_shutdown never returns 1

2009-05-19 Thread Andy Murphy
ny help you can give. Andy > -Original Message- > From: owner-openssl-us...@openssl.org [mailto:owner-openssl- > us...@openssl.org] On Behalf Of Kyle Hamilton > Sent: 14 May 2009 18:10 > To: openssl-users@openssl.org > Subject: Re: SSL_shutdown never returns 1 > > I

Re: SSL_shutdown never returns 1

2009-05-14 Thread Kyle Hamilton
If you expect no more data from the client, you can simply destroy the SSL context at the point you first call it (even if it returns 0). It will only return 1 if it has received the peer's close_notify, and it's possible that those peers failed to send it. (Do you get an SSL_ERROR_SYSCALL with E