mixing ipv4 and ipv6 with AnyEvent::HTTP
Marc Lehmann
schmorp at schmorp.de
Sun Dec 1 18:36:53 CET 2013
On Sat, Nov 30, 2013 at 10:05:56PM +0100, Raphael Geissert <geissert at debian.org> wrote:
> 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).
Hmm, what makes you think they don't take redirections into consideration?
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the anyevent
mailing list