Re: Server application hangs on SS_read, even when client disconnects

2020-11-13 Thread Brice André
Hello Michael, Thanks for all those information. I corrected your suggested point (close parent process sockets). I also activated keepalive, with values adapted to my application. I hope this will solve my issue, but as the problem may take several weeks to occur, I will not know immediately if

## Application accessing 'ex_kusage' ##

2020-11-13 Thread Narayana, Sunil Kumar
Hi , We are porting our Application from openssl 1.0.1 to openssl 3.0. in related to this activity we require to access the variable 'ex_kusage' pointed by X509 But there are no set utilities available to access this variable. Only X509_get_key_usage Is available. Our code for

RE: Server application hangs on SS_read, even when client disconnects

2020-11-13 Thread Michael Wojcik
> From: Brice André > Sent: Friday, 13 November, 2020 09:13 > "Does the server parent process close its copy of the conversation socket?" > I checked in my code, but it seems that no. Is it needed? You'll want to do it, for a few reasons: - You'll be leaking descriptors in the server, and event

Re: Server application hangs on SS_read, even when client disconnects

2020-11-13 Thread Brice André
Hello, And many thanks for the answer. "Does the server parent process close its copy of the conversation socket?" : I checked in my code, but it seems that no. Is it needed ? May it explain my problem ? " Do you have keepalives enabled?" To be honest, I did not know it was possible to not enab

RE: Server application hangs on SS_read, even when client disconnects

2020-11-13 Thread Michael Wojcik
> From: openssl-users On Behalf Of Brice > André > Sent: Friday, 13 November, 2020 05:06 > ... it seems that in some rare execution cases, the server performs a > SSL_read, > the client disconnects in the meantime, and the server never detects the > disconnection and remains stuck in the SSL_re

Server application hangs on SS_read, even when client disconnects

2020-11-13 Thread Brice André
Hello, I have developed a client-server application with openssl and I have a recurrent bug where, sometimes, server instance seems to be definitively stuck in SSL_read call. I have put more details of the problem here below, but it seems that in some rare execution cases, the server performs a S