aboutsummaryrefslogtreecommitdiffstats
path: root/common/http.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-02-28Bring the fix for bug 739 on 1.4 over to 2.0 (bug 1479)David Shaw1-4/+3
* http.h, http.c (http_wait_response, main): Remove HTTP_FLAG_NO_SHUTDOWN.
2012-12-15Fix issue 1446: honor ports given in SRV responses.David Shaw1-3/+10
* 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.
2009-05-28Avoid caches to get the most recent copy of the key. This is bug #1061David Shaw1-2/+4
2009-05-28* http.h, http.c (send_request): Pass in srvtag and make its presenceDavid Shaw1-5/+6
sufficient to turn the feature on. (http_open): From here. (http_document): And here. * gpgkeys_hkp.c (srv_replace): New function to transform a SRV hostname to a real hostname. (main): Call it from here for the HAVE_LIBCURL case (without libcurl is handled via the curl-shim). * curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): Add a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine).
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2006-09-04Support to read response headers. Required for redirection support in theWerner Koch1-1/+3
dirmngr package.
2006-08-14Changed HTTP API.Werner Koch1-26/+18
2006-08-11Added http.c from 1.4. Werner Koch1-0/+121
Added support for estream and gnutls.