In one of our server, many connections are in CLOSE_WAIT
. I understand that it means the other side of the connection is closed and now it is upto the server to send the FIN
and change the state to LAST_ACK
and close the connection.
My questions are:
- What if the client send a
RST
when the server is inCLOSE_WAIT
state? - After the client has send the
FIN
and if the server still wants to send more data, what would be the state of the server in this case?