Re: Forcing the SSL handshake

2006-11-02 Thread Kyle Hamilton
On 11/2/06, Rob Crittenden <[EMAIL PROTECTED]> wrote: Nelson B wrote: > 1. Is this a blocking socket, or non-blocking? non-blocking, not my choice. Interesting issue. > 2. If non-blocking, are you certain that the connection has completed? >That is, are you certain that the TCP's "three

Re: Forcing the SSL handshake

2006-11-02 Thread Rob Crittenden
Nelson B wrote: Rob Crittenden wrote: In an SSL client I want to force the SSL handshake to take place instead of passively waiting for it to happen during the first write. Right after I connect to the server I'm currently doing this: SSL_ResetHandshake(ssl, /* asServer */ PR_FALSE); do

Re: Forcing the SSL handshake

2006-11-02 Thread Nelson B
Rob Crittenden wrote: > In an SSL client I want to force the SSL handshake to take place instead > of passively waiting for it to happen during the first write. > > Right after I connect to the server I'm currently doing this: > >SSL_ResetHandshake(ssl, /* asServer */ PR_FALSE); >do { >

Re: Forcing the SSL handshake

2006-11-02 Thread Nelson B
Rob Crittenden wrote: > In an SSL client I want to force the SSL handshake to take place instead > of passively waiting for it to happen during the first write. > > Right after I connect to the server I'm currently doing this: > >SSL_ResetHandshake(ssl, /* asServer */ PR_FALSE); >do { >

Forcing the SSL handshake

2006-11-02 Thread Rob Crittenden
In an SSL client I want to force the SSL handshake to take place instead of passively waiting for it to happen during the first write. Right after I connect to the server I'm currently doing this: SSL_ResetHandshake(ssl, /* asServer */ PR_FALSE); do { SSL_ForceHandshake(ssl); PR_Rec