OpenSSL with Winsock

2010-06-09 Thread havent forge
Hi, I'm new to OpenSSL and trying to implement a simple multi-thread http/https server with winsock for educational purposes. It works fine for http requests but when handling https requests program crashes at SSL_read(ssl_client, buf, size) function call. I've seen that after calling the

Re: OpenSSL with Winsock

2010-06-09 Thread awi
Hi, I am not sure if it helps but it seems that you forgot to define locking functions which are crucial for system working in multi-threaded environment. Take a look at: http://www.openssl.org/docs/crypto/threads.html Regards, AW havent forge pisze: Hi, I'm new to OpenSSL and trying to