다음을 통해 공유


3.3.2.6.2 Idle Connection Cleanup Timer Expiry

When the Idle Connection Cleanup Timer expires, the client MUST enumerate all connections, using the client's Table of Associations, and consider each connection eligible for cleanup.

The client MUST determine that a connection is eligible for cleanup if its Last Use Time is greater than 10 seconds from the current time.

However, if the number of connections in all associations, counting the number of connection elements in each association from the Table of Associations,  is more than a defined threshold of connections,<114> or the sum of the number of security context handles in all connections in an association is more than the defined threshold of existing security context handles,<115> the client MUST determine a connection is eligible for cleanup, if its Last Use Time is greater than 5 seconds from the current time.

When the client considers the connection is eligible for cleanup, the connection MUST be closed, unless it is the only connection for an association to the server and there is at least one active context handle on the association as determined by examining the association's  Association Active Context Handle Count.

The Idle Connection Cleanup Timer is restarted as soon as the processing is completed.