ok2c commented on PR #611:
URL: 
https://github.com/apache/httpcomponents-client/pull/611#issuecomment-2601966858

   I am sorry @arturobernalg but this looks wrong. The proposed code does not 
really "warm up" the pool. It merely creates a bunch of pool entries with no 
connection in them. It really makes no sense. 
   
   The only reliable way of creating a properly established connection is by 
executing a cheap request such as `OPTIONS` along the given route. Please note 
one needs a fully initialized and a functional client for that as a route may 
involve multiple hops, proxy tunnels and TLS security. It cannot be done by the 
connection manager alone.
   
   If you really intend to resolve HTTPCLIENT-2180 you should probably create a 
utility class that executes a bunch of `OPTIONS` requests along the given 
route, but I would rather close HTTPCLIENT-2180 as "wontfix"


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