aboutsummaryrefslogtreecommitdiffstats
path: root/common/http.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bring the fix for bug 739 on 1.4 over to 2.0 (bug 1479)David Shaw2013-02-281-4/+3
| | | | | * http.h, http.c (http_wait_response, main): Remove HTTP_FLAG_NO_SHUTDOWN.
* Fix issue 1446: honor ports given in SRV responses.David Shaw2012-12-151-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.
* Avoid caches to get the most recent copy of the key. This is bug #1061David Shaw2009-05-281-2/+4
|
* * http.h, http.c (send_request): Pass in srvtag and make its presenceDavid Shaw2009-05-281-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).
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Support to read response headers. Required for redirection support in theWerner Koch2006-09-041-1/+3
| | | | | dirmngr package.
* Changed HTTP API.Werner Koch2006-08-141-26/+18
|
* Added http.c from 1.4. Werner Koch2006-08-111-0/+121
Added support for estream and gnutls.