This is an automated archive.

The original was posted on /r/openssl by /u/vasthavk on 2023-05-14 10:14:50+00:00.


I’m working on OPENSSL Client Server application using the utilities provided by OpenSSL.

Open SSL Server utility current implementation handles each SSL handshake one after the other. So I’ve modified this by creating a new thread for each and every newly received TCP connection. Main thread listens for new connections and newly created thread does ssl handshake(SSL_accept).

The s_server just accepts the connection and closes it.

When creating multiple connections using s_time application. One SSL connection is tearing down successfully but for the next connection it is not gng through.

On server side in gdb mode I’m receiving SIGPIPE when server is trying to write some data. Any idea how to fix this?