]> granicus.if.org Git - libevent/commit
Fix ipv6 support for http. When URL contain domain, not IP address.
authorAzat Khuzhin <a3at.mail@gmail.com>
Tue, 22 Jan 2013 22:45:32 +0000 (02:45 +0400)
committerAzat Khuzhin <a3at.mail@gmail.com>
Thu, 8 Oct 2015 08:44:49 +0000 (11:44 +0300)
commit502c043a3aadabba8ce85db2832654676811bf8b
treedde62ed476e0c97835eaf2ae8d9ade2e32d49dc7
parent571dbac81af7a378d6fad0728c3eb3d7be89785f
Fix ipv6 support for http. When URL contain domain, not IP address.

Before this patch socket created before domain was resolved, and it
always create with AF_INET (ipv4), but we must create socket only after
domain was resolved to understad which protocol family have domain
address.

Thank to Patrick Pelletier, who found this bug.
http.c