commit d59c861359e2ffcdd4d5c23d235e4c8f3b9b7adb parent 59d958cf4c60c3de53d4fc9200bc66e1881096a8 Author: Michael Savage <mikejsavage@gmail.com> Date: Wed Dec 28 00:27:24 +0200 Just use IPv4 for now Diffstat:
http.cc | | | 2 | +- |
diff --git a/http.cc b/http.cc @@ -13,7 +13,7 @@ bool dns_first( const char * host, struct sockaddr_storage * address ) { struct addrinfo hints; memset( &hints, 0, sizeof( struct addrinfo ) ); - hints.ai_family = AF_UNSPEC; + hints.ai_family = AF_INET; // TODO hints.ai_socktype = SOCK_STREAM; hints.ai_protocol = IPPROTO_TCP;