SSL_read() returns result of 0 with SSL_ERROR_SYSCALL - error queue empty?

2007-05-22 Thread Andrew Armstrong
Hey, I am making some progress on the multithreaded socket server. Thinks are going well. However; every so often pretty much all (or all of them, I'm yet to check - either way, it's a majority) of the connected sockets end up having SSL_read() performed on them, and this function returns

FW: Multi-threaded SSL Socket Usage

2007-05-17 Thread Andrew Armstrong
Resend; it's been a few hours and my reply below has yet to come through. - Andrew -Original Message- From: Andrew Armstrong [mailto:[EMAIL PROTECTED] Sent: Thursday, 17 May 2007 6:49 PM To: 'openssl-users@openssl.org' Subject: RE: Multi-threaded SSL Socket Usage Thanks for your

RE: Multi-threaded SSL Socket Usage

2007-05-17 Thread Andrew Armstrong
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Armstrong Sent: Thursday, 17 May 2007 8:13 PM To: openssl-users@openssl.org Subject: FW: Multi-threaded SSL Socket Usage Resend; it's been a few hours and my reply below has yet to come through. - Andrew

RE: Multi-threaded SSL Socket Usage

2007-05-17 Thread Andrew Armstrong
Thanks for your response David, Rodney. I understand (clearer now) the requirement that: * If SSL_read reports WANT_WRITE; we need to issue an immediate SSL_write However; what do I actually write? Do I write a blank/empty string (SSL_write(ssl, , 0)?) - I may not have anything to write. Please

Multi-threaded SSL Socket Usage

2007-05-15 Thread Andrew Armstrong
Hi Everyone, I hope I have found the right place to ask for some advice. An application we have developed is responsible for handling concurrent connections from multiple SSL Sockets. While the application works fine for a while; there will sometimes be an issue where a socket blocked on

Tutorials

2001-02-02 Thread Andrew Armstrong
Does anybody know of any tutotials or reference for openssl besides whats in the man pages and the opranssl/demos directory. -- Andrew Armstrong Slacker/Computer Geek [EMAIL PROTECTED] __ OpenSSL Project