[stunnel-users] socket closed after SSL_write

Srilalitha Muralidhara(HCL Capital Market Services) srilalitha.m at hcl.in
Tue Jun 13 10:46:14 CEST 2006

Thanks Michal. How do I disable the socket from sending TCP RST and
instead make it send TCP FIN?

It might be a very basic question. Sorry about that.

Srilalitha Muralidhara
Rates IT Report Server
HCL Capital Market Services
( 91.80.4190.6689  +  33/1,The Senate, Ulsoor Road, Bangalore. India.

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
-----Original Message-----
From: stunnel-users-bounces at mirt.net
[mailto:stunnel-users-bounces at mirt.net] On Behalf Of Michal Trojnara
Sent: Monday, June 12, 2006 11:08 PM
To: stunnel-users at mirt.net
Subject: Re: [stunnel-users] socket closed after SSL_write

On Monday 12 June 2006 12:01, Srilalitha Muralidhara wrote:

> 2006.06.12 10:47:45 LOG7[19699:28]: SSL alert (write): warning: close
> notify

Clean SSL shutdown alert was received.

> 2006.06.12 10:47:50 LOG3[19699:28]: SSL_read: Connection reset by peer
> (131)

... and then TCP RST!

Strange.  It looks like your application has set SO_LINGER option on its

socket, so it sends TCP RST instead of TCP FIN packet.

Best regards,

The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of HCL Capital Market Services and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of HCL Capital Market Services.
This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and HCL Capital Market Services is not responsible for any loss or damage arising in any way from its use.

More information about the stunnel-users mailing list