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

   This pull request introduces a minimal implementation of Happy Eyeballs 
Version 2 (RFC 8305) for the asynchronous client connection operator in Apache 
HttpComponents Client 5.x. It focuses on a simple, straightforward approach to 
dual-stack (IPv6/IPv4) address resolution and staggered connection attempts, 
while integrating a basic RFC 6724 address selection mechanism.
   
   Key highlights:
   
   - Minimal RFC 6724 Support: Implements essential rules for address sorting 
(e.g., precedence, scope, label matching, longest prefix), with source address 
discovery via UDP probes. Non-critical rules (e.g., deprecated addresses, home 
addresses) are marked as TODO for future enhancements.
   
   - Staggered Connections: Uses a single-threaded ScheduledExecutorService for 
delaying connection attempts (default: 250ms), ensuring compliance with RFC 
8305's latency minimization without unnecessary complexity.
   
   - Integration: Easily configurable via 
PoolingAsyncClientConnectionManagerBuilder.setConnectionOperator(). Includes 
shutdown methods for resource management.


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