Re: SSL_connect and non-blocking reads (fwd)

2000-04-05 Thread Bodo Moeller
>> 2) The SSL_read/SSL_write API doesn't seems to support non-blocking IO. I >> Is it sufficient to set the underlying file descriptor for non-blocking IO >> and just use SSL_set_fd to enable this? And if I change the properties of >> the underlying file desc. can I just issue another SSL_set_fd

Re: SSL_connect and non-blocking reads (fwd)

2000-04-05 Thread Lutz Jaenicke
On Wed, Apr 05, 2000 at 01:31:07PM +0200, Lutz Jaenicke wrote: > The client _can_not_ successfully cache sessions. The reason is, that Ooh, this was not expressed very clear. I wanted to say: the OpenSSL LIBRARY can not automatically supply a client session from the cache. The client APPLICATION

Re: SSL_connect and non-blocking reads (fwd)

2000-04-05 Thread bjones
child. I tried this but the second time I use the SSL connection the server closes the connection. any help would be appreciated - Original Message - From: "Geoff Thorpe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 04, 2000 10:22 PM Subject: Re: SSL_co

Re: SSL_connect and non-blocking reads (fwd)

2000-04-05 Thread Lutz Jaenicke
On Wed, Apr 05, 2000 at 11:05:49AM +0200, Amnon Cohen wrote: > > > 1) I have a multithreaded client which connects to the server using > > > multiple sockets. How do I make the client verify the server > certificate > > > only once, say on the initial SSL_connect, and not for subsequent > > > con

RE: SSL_connect and non-blocking reads (fwd)

2000-04-05 Thread Amnon Cohen
> Douglas Lee wrote: > > Hi Darkspell, > > > > I have 2 questions: > > > > 1) I have a multithreaded client which connects to the server using > > multiple sockets. How do I make the client verify the server certificate > > only once, say on the initial SSL_connect, and not for subsequent > >

Re: SSL_connect and non-blocking reads (fwd)

2000-04-04 Thread Geoff Thorpe
Hi there, At 09:45 AM 4/5/00 +1000, you wrote: >1) I have a multithreaded client which connects to the server using >multiple sockets. How do I make the client verify the server certificate >only once, say on the initial SSL_connect, and not for subsequent >connects? well session caching (which

Re: SSL_connect and non-blocking reads (fwd)

2000-04-04 Thread Bradley Beck Asztalos
Douglas Lee wrote: > Hi Darkspell, > > I have 2 questions: > > 1) I have a multithreaded client which connects to the server using > multiple sockets. How do I make the client verify the server certificate > only once, say on the initial SSL_connect, and not for subsequent > connects? > I think

SSL_connect and non-blocking reads (fwd)

2000-04-04 Thread Douglas Lee
Hi Darkspell, I have 2 questions: 1) I have a multithreaded client which connects to the server using multiple sockets. How do I make the client verify the server certificate only once, say on the initial SSL_connect, and not for subsequent connects? 2) The SSL_read/SSL_write API doesn't seems