mixing ipv4 and ipv6 with AnyEvent::HTTP

Raphael Geissert geissert at debian.org
Sun Dec 1 22:49:30 CET 2013


On Sunday 01 December 2013 18:36:53 Marc Lehmann wrote:
> Hmm, what makes you think they don't take redirections into
> consideration?

Wouldn't a connection to host A via ipv4 that is in the KA_CACHE end up 
being re-used if a connection to host B via ipv6 re-directed to host A?

It would seem to me that I'd need to provide a tcp_connect wrapper that 
forces the lookup to be performed over v6 (or v4) AND set a different 
sessionid for each IP family so that they are not mixed.

PS. I'm now subscribed to the list - should have done it in the first place.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net



More information about the anyevent mailing list