BIO_gets hangs with full cpu load

2008-05-08 Thread Roman Aspetsberger
Hello. I'm working on a multi threaded program, which passes on HTTP messages. Therefore, I use socket BIOs with buffer BIOs to get the BIO_gets() support. Everything is working fine for a while, but sometimes, a thread hangs in the BIO_gets() method and returns never again. The worst fact

Can't free BIO after ssl handshake fails

2008-05-16 Thread Roman Aspetsberger
Hello. I have got a big problem in my application: My application is connecting webservers over ssl. Therefore, I use a bio chain bufferBIO - sslBIO - socketBIO. I use certificate verification, but when a cert verification fails, I have a problem with freeing the ssl BIO. My thread is

get server certificate after handshake failed

2009-01-30 Thread Roman Aspetsberger
Hi. I have got the following problem in my application: - I have added an own callback function for certificate verification, which will let the handshake fail if the verification fails. - But if a verification process fails, I need the presented server certificate outside the callback