Re: Odd handshake deadlock..

2005-04-29 Thread Ray Russell Reese III
> The problem is that you send 'ssl on', then immediately switch to SSL > mode, >and then send the first part of the SSL handshake. When the server goes to >receive the data, it receives 'ssl on\n' and recognizes the >'ssl on' and turns on SSL mode. But that chunk of the SSL handshake has >

Re: Odd handshake deadlock..

2005-04-29 Thread Ray Russell Reese III
Okay, interesting development. If I put a sleep(5); on the C client before I issue SSL_connect (but after I BIO_write "ssl on\n"), everything works fine. Otherwise both client and server deadlock on read/recv. Ray Russell Reese III wrote: >There seems to be a problem with the clien

Odd handshake deadlock..

2005-04-28 Thread Ray Russell Reese III
More than likely, the problem stems from my novice understanding as to how BIOs work, however I have a very puzzling problem. I'm currently writing a client/server application, client written in C for speed (will be invoked several times a second), and server is written in Java. I want the client t