Darin,

You are a genius.  It worked like a charm.  Thanks!

On Thu, 8 Aug 2002 10:16:08 -0400, [EMAIL PROTECTED] said:
> 
> 
> Greg,
> 
> The reason why the program terminates abnormally when you write to a
> closed
> socket is that the operating system issues a SIGPIPE signal in this
> situation.
> To solve the problem, there are two solutions:
> 
>      1)  Install the SIG_IGN handler for the SIGPIPE signal
>      2)  Install your own signal handler for SIGPIPE and do something
>      besides
> abort()/exit().
> 
> Either of these two solutions can be implemented through either
> sigset() or
> sigaction().   (sigaction() is the POSIX way to do it and it ensures
> reliable
> signals.)
> 
> 
> Darin Broady
> [EMAIL PROTECTED]
> Lexmark International, Inc.
> 
> 
> 
> 
> "ganesh kumar godavari" <[EMAIL PROTECTED]>
> on
> 08/07/2002 06:24:44 PM
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:   [EMAIL PROTECTED]
> cc:    (bcc: Darin Broady/Lex/Lexmark)
> Subject:  Re: ssl_write problem on AIX
> 
> 
> 
> 
> hello,
>   what error message are u getting? this link might help u in
> getting the error messages
> http://www.openssl.org/docs/ssl/SSL_write.html#
> 
> most probable reason is the connection is terminated either by the
> client or server. use ssldump and analyse the flow.
> 
> Cheers,
> ganesh
> 
> 
> On Thu, 08 Aug 2002 Greg Duclos wrote :
> >Hi all,
> >
> >I'm having some problems with an ssl_write.  When the client and
> >server
> >are both up, the system works fine.  If I take the server down,
> >and my
> >client attempts to perform a write, I get one of two behaviors:
> >
> >1.  The program terminates abnormally
> >2.  The first write appears to succeed, and then on the second
> >write,
> >the program terminates abnormally.
> >
> >Any help would be appreciated.
> >
> >Thanks!
> >--
> >   Greg Duclos
> >   [EMAIL PROTECTED]
> >______________________________________________________________________
> >OpenSSL Project
> >http://www.openssl.org
> >User Support Mailing List
> >[EMAIL PROTECTED]
> >Automated List Manager
> >[EMAIL PROTECTED]
> 
> __________________________________________________________
> Give your Company an email address like
> ravi @ ravi-exports.com.  Sign up for Rediffmail Pro today!
> Know more. http://www.rediffmailpro.com/signup/
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 

-- 
  Greg Duclos
  [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to