arturobernalg commented on PR #672:
URL: 
https://github.com/apache/httpcomponents-client/pull/672#issuecomment-3047517905

   > @arturobernalg I think `Retry-After` specified by the opposite endpoint 
should take precedence over the local settings. I also hate calling the method, 
parsing the header, throwing the results away and then doing the same thing 
again. In this case I would rather deprecate `HttpRequestRetryStrategy` and 
replace it with a better interface in 5.6.
   > 
   > Another alternative would be to not retry requests that have a response 
timeout at all.
   
   @ok2c , I agree Retry-After should drive the delay. Let's tackle the timeout 
check in a separate PR to avoid parsing overhead. Thanks for the insight!


-- 
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