I am seeing a scenario where

' The SERVER_FINISH packet coming from the server has the FIN flag set'

My questions :

1. Under what condition does openSSL decide to close the socket while
finishing the SSL handshake ?

2. How to simulate this issue using openSSL server ?

3. Is there any way of inserting TCP flags to outgoing data packets
(eg. FIN in this case) from the Open SSL code ?

tia
aj