ChristophKaser opened a new pull request, #468:
URL: https://github.com/apache/httpcomponents-client/pull/468

   At the moment, when i pass validateAfterInactivity as 
Timeout.ZERO_MILLISECONDS, it has the effect of never validating the connection 
at all, because that is how Deadline.calculate works. However, the check for 
TimeValue.isNonNegative for validateAfterInactivity before the deadline check 
suggests this is not the intended behavior.
   
   Furthermore, we are trying to communicate with a server that always closes a 
h2 connection after one request. Without a way to force revalidation every 
time, this runs into issues when a connection is taken from the pool.


-- 
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: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to