arturobernalg opened a new pull request, #645:
URL: https://github.com/apache/httpcomponents-core/pull/645

   This change removes direct dependencies on `System.currentTimeMillis()` from 
`StrictConnPool`, `LaxConnPool`, and `RouteSegmentedConnPool` by routing time 
checks through an injected java.time.Clock (defaulting to Clock.systemUTC()), 
and by using clock-derived deadlines/expiry checks instead of 
Deadline.isExpired(). This makes time-based behavior (idle/expiry/request 
timeouts and TTL handling) deterministic and enables upcoming unit tests to 
control time without Thread.sleep().


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to