Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Letting client claim its sessionId is not a good practice.
Using and manage a ClientSession to describe each connection on the server side is more safe.
Besides, Current timeout connection can not be closed by the server side, which may lead resource leakage if clients forget to close their connections. Therefore, we can close the socket connection to notify Thrift close the session.