monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some SSL stuff.


From: Jan-Henrik Haukeland
Subject: Re: Some SSL stuff.
Date: 06 Nov 2002 19:50:53 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

Christian Hopp <address@hidden> writes:

> On Wed, 6 Nov 2002, Christian Hopp wrote:
> 
> > On Tue, 5 Nov 2002, Christian Hopp wrote:
> >
> > Anyways, it seems to me we have make the underlying socket
> > non-blocking in order to make the ssl connection non-blocking.  That
> > means we need to do a
> >   fcntl(s, F_SETFL, O_NONBLOCK)
> > with our network socket.
> 
> Forget about that... I tried it... it doesn't work....  I feel like
> doing monologues. (-:

Heh, have you tried net.c:set_noblock it uses ioctl. Seems to work
last time I tested. Another option is to replace the accept in
engine.c with SSL_accept when in ssl mode. That way you have only one
blocking accept. But try set_noblock first :-)

-- 
Jan-Henrik Haukeland




reply via email to

[Prev in Thread] Current Thread [Next in Thread]