Home GnuPG
Diffusion GnuPG ba9e974f1fd8

Fix issue 1446: honor ports given in SRV responses.
ba9e974f1fd8Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix issue 1446: honor ports given in SRV responses.

* common/http.c (send_request, connect_server, http_open): Use a
  struct srv instead of a single srvtag so we can pass the chosen host
  and port back to the caller.
  (connect_server): Use the proper port in the HAVE_GETADDRINFO case.
* keyserver/curl-shim.c (curl_easy_perform): Use struct srv and log
  chosen host and port.
* keyserver/gpgkeys_hkp.c (main): Properly take the port given by SRV.

Details

Provenance
dshawAuthored on Dec 15 2012, 4:11 PM
Parents
rG3e7cc25d4a57: SCD: Fix the process of writing key or generating key.
Branches
Unknown
Tags
Unknown

Event Timeline

David Shaw <dshaw@jabberwocky.com> committed rGba9e974f1fd8: Fix issue 1446: honor ports given in SRV responses. (authored by David Shaw <dshaw@jabberwocky.com>).Dec 15 2012, 4:11 PM
werner mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:06 PM
werner mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:29 PM