mixing ipv4 and ipv6 with AnyEvent::HTTP
Raphael Geissert
geissert at debian.org
Mon Dec 2 08:01:23 CET 2013
On Monday 02 December 2013 07:18:57 Marc Lehmann wrote:
> On Sun, Dec 01, 2013 at 10:49:30PM +0100, Raphael Geissert
<geissert at debian.org> wrote:
> > 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?
>
> Sure, but what has this to do with redirection? That happens with or
> without redirections being followed.
That from the client application I can control whether there are connections
to host A via ipv4 and ipv6, but with redirections things can get mixed up
unless I also filter them - or set a different session id.
> You keep changing your problem, or what you describe as your problem.
> That makes it a bit hard to help you.
It's still the same problem, probably not very well explained: I want to run
http requests to S1 hosts over ipv4 (with possible redirections and keep-
alive/persistent connections) and requests to S2 hosts over ipv6 (with
redirs + ka) without things getting mixed up together and at the same time.
Think about it as if the goal was to monitor the connectivity of each subset
of hosts over one or the other IP stack. (but the monitoring goes all the
way up to layer 7).
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
More information about the anyevent
mailing list