Does the websocket RFC do suggest that the server should enter time wait state?

105 Views Asked by At

in section 5.5.1 in the rfc6455 https://datatracker.ietf.org/doc/html/rfc6455#section-5.5.1, it says:

The server MUST close the underlying TCP connection immediately;
the client SHOULD wait for the server to close the connection

Dose this mean the server should intiate the close of the TCP connection (by sending out the FIN packet first) and finally enter "TIME WAIT" state? But why is it designed this way? I thought client TIME WAIT was always the best practice!

0

There are 0 best solutions below