]> 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>
Tue, 22 Jan 2013 22:45:32 +0000 (02:45 +0400)
commit71e709c7829275a594f767b27468b1b52e8b5bb9
tree0bb1009eea433d7f030f65af7195477827a63c33
parentf324b1dffc443b3c03dda8142177b64306775dca
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