mixing ipv4 and ipv6 with AnyEvent::HTTP

Raphael Geissert geissert at debian.org
Sat Nov 30 22:05:56 CET 2013


Hi,

On Friday 29 November 2013 06:09:11 Marc Lehmann wrote:
> Not inside AnyEvent::HTTP for sure - AnyEvent::HTTP just does as told
> by the system - it asks your configured DNS server for the address, it
> returns ipv4 (or ipv6), and there is nothing in the http protocol that
> says that ipv4 must not be used when available.

Sure, but there are already the on_prepare and tcp_connect options in 
::HTTP. So I was looking at an option that works pretty much in the same way 
but for the whole scope of the ::HTTP requests (i.e., taking redirections 
into consideration).

> > (btw, the sessionid key seems to be underdocumented)
> 
> Yes, it's erroneously documented as "session" in the current release.

Ah, indeed!

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



More information about the anyevent mailing list