dirmngr: Make use of IPv4 and IPV6 more explicit.
authorWerner Koch <wk@gnupg.org>
Fri, 14 Mar 2014 16:00:10 +0000 (17:00 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 14 Mar 2014 16:00:10 +0000 (17:00 +0100)
commit59b4fb5f4927908af06bb80ecd86adbf6e54ba14
tree0dc9172d845c1de1124bdcbcb87ccfdd51fed529
parentd7fbefeb82833db9eea8b15dc7889ecf0b7ffab4
dirmngr: Make use of IPv4 and IPV6 more explicit.

* common/http.c (connect_server): Handle the new flags.
* common/http.h (HTTP_FLAG_IGNORE_IPv4, HTTP_FLAG_IGNORE_IPv4): New.
* dirmngr/ks-engine-hkp.c (map_host): Add arg r_httpflags.
(make_host_part): Ditto.
(send_request): Add arg httpflags.
(ks_hkp_search, ks_hkp_get, ks_hkp_put): Handle httpflags.
common/http.c
common/http.h
dirmngr/ks-engine-hkp.c