Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Part of issue 1447: Pass proper Host header when SRV is used. | David Shaw | 2012-12-19 | 1 | -5/+9 |
| | | | | | | | | * common/http.c (send_request, connect_server): Set proper Host header (no :port, host is that of the SRV) when SRV is used in the curl-shim. Backported from cbe98b2cb1e40ba253300e604996681ae191e363 | ||||
* | Remove trailing white space from some files | Werner Koch | 2012-12-19 | 1 | -5/+5 |
| | | | | -- | ||||
* | Adjust to GNU coding standards | Werner Koch | 2012-12-19 | 1 | -3/+8 |
| | | | | | | | -- A variable definition with initialization shall have only one variable per type. | ||||
* | Fix last commit | Werner Koch | 2012-12-19 | 1 | -1/+1 |
| | | | | * util/http.c (connect_server): Bump SRVINDEX and not SRV. | ||||
* | Fix issue 1446: honor ports given in SRV responses. | David Shaw | 2012-12-19 | 1 | -23/+31 |
| | | | | | | | | | | | | | | * 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. Backported from ba9e974f1fd85b3dbbfb5e26d7a14f71d07c7cf2 | ||||
* | Avoid caches to get the most recent copy of the key. This is bug | David Shaw | 2009-05-26 | 1 | -7/+22 |
| | | | | | #1061 | ||||
* | * srv.h: Move to include/srv.h. | David Shaw | 2009-04-06 | 1 | -4/+6 |
| | | | | | * http.c (send_request): Pass in srvtag... (http_open): ...from here. | ||||
* | * curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): Add | David Shaw | 2009-04-03 | 1 | -6/+7 |
| | | | | | | | | | | a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine). * http.h: Allow passing srvtag to http_open and http_open_document. * http.c (http_open, http_open_document): Allow passing srvtag to http_open and http_open_document. | ||||
* | * http.c (connect_server): free (rather than xfree) the result of | David Shaw | 2009-04-03 | 1 | -2/+4 |
| | | | | | getsrv(). | ||||
* | * http.c (do_parse_uri): Properly handle IPv6 literal addresses as per | David Shaw | 2009-03-13 | 1 | -6/+17 |
| | | | | | RFC-2732. Adapted from patch by Phil Pennock. | ||||
* | * Makefile.am, http.c (start_server): Minor tweaks to get http-test | David Shaw | 2009-03-13 | 1 | -3/+3 |
| | | | | | compiling again. | ||||
* | Switched to GPLv3. | Werner Koch | 2007-10-23 | 1 | -4/+2 |
| | | | | | Updated gettext. | ||||
* | * http.c (do_parse_uri): Remove the hkp port 11371 detection. We | David Shaw | 2007-02-11 | 1 | -2/+0 |
| | | | | | | implement hkp in the keyserver handler, and the support here makes it appear like a bad hkp request actually succeeded. | ||||
* | Fix bug#739 (proxy/shutdown) | Werner Koch | 2006-12-14 | 1 | -2/+6 |
| | |||||
* | * http.c (send_request): A zero-length proxy is the same as no proxy at | David Shaw | 2006-07-20 | 1 | -1/+1 |
| | | | | | all. Suggested by J. Scott Berg. | ||||
* | * http.c (send_request): A zero length proxy is the same as no proxy. | David Shaw | 2006-02-19 | 1 | -1/+1 |
| | |||||
* | Converted all m_free to xfree etc. | Werner Koch | 2005-07-27 | 1 | -21/+21 |
| | |||||
* | * http.c (make_radix64_string): Add '=' padding as per standard. | David Shaw | 2005-06-23 | 1 | -32/+46 |
| | | | | | | | (send_request, http_open, http_open_document): Clean up auth code. Can now support different auth for a proxy and the file being requested via that proxy. Unescape auth strings. | ||||
* | * http.c (send_request, http_open, http_open_document): Pass in auth | David Shaw | 2005-06-22 | 1 | -7/+14 |
| | | | | | and proxyauth that can override the in-url auth. | ||||
* | * http.c (send_request): Need == after the radix64-encoded basic auth | David Shaw | 2005-06-22 | 1 | -4/+4 |
| | | | | | string. | ||||
* | Updated FSF street address and preparations for a release candidate. | Werner Koch | 2005-05-31 | 1 | -1/+2 |
| | |||||
* | Last changes for W32RC-1-4-1rc1 | Werner Koch | 2005-02-03 | 1 | -1/+1 |
| | |||||
* | * http.c (connect_server): Fix fd leak when connecting to a round-robin | David Shaw | 2005-02-01 | 1 | -1/+9 |
| | | | | | server set that has some down servers. Noted by Phil Pennock. | ||||
* | * http.c (connect_server): Use INADDR_NONE instead of SOCKET_ERROR. | David Shaw | 2005-01-13 | 1 | -1/+1 |
| | | | | | Noted by Timo. | ||||
* | Better implementation for the SRV check. We don't need to actually check | David Shaw | 2004-12-29 | 1 | -0/+1 |
| | | | | | | all the header files individually since the SRV test compile uses them together. | ||||
* | * http.c (send_request): Include the port if non-80 in the Host: header. | David Shaw | 2004-12-03 | 1 | -6/+14 |
| | | | | | Noted by Jason Harris. | ||||
* | * http.c (connect_server, send_request): Use the URI scheme as the SRV tag | David Shaw | 2004-10-18 | 1 | -16/+22 |
| | | | | | rather than hard-coding _hkp. | ||||
* | * http.c (connect_server): [_WIN32] actually fill in the sin_addr so we | David Shaw | 2004-10-16 | 1 | -1/+13 |
| | | | | | | aren't always talking to localhost. Add some general sanity checking of parameters learned from gethostbyname(). | ||||
* | * http.c (make_radix64_string, do_parse_uri, send_request): Add basic auth | David Shaw | 2004-09-10 | 1 | -16/+78 |
| | | | | | for proxies and direct requests. Suggested by Florent Thoumie. | ||||
* | * http.c (main): Fix test code for http-test. | David Shaw | 2004-09-10 | 1 | -2/+2 |
| | |||||
* | * http.c (insert_escapes): Fix encoding problem for non-URI-safe | David Shaw | 2004-08-19 | 1 | -2/+2 |
| | | | | | characters. Noted by Vladimir Novak. | ||||
* | * http.c (send_request, http_open_document, http_open): Pass the http | David Shaw | 2003-12-28 | 1 | -29/+16 |
| | | | | | proxy from outside rather than pulling it from the evironment. | ||||
* | * http.c (send_request): Add a Host: header for virtual hosts. | David Shaw | 2003-12-06 | 1 | -5/+3 |
| | |||||
* | * http.c (connect_server): Differentiate between generic "can't connect" | David Shaw | 2003-11-01 | 1 | -4/+12 |
| | | | | | | errors and the more specific "host not found". Suggested by Samuel Tardieu. | ||||
* | 2003-09-21 Timo Schulz <[email protected]> | Timo Schulz | 2003-09-21 | 1 | -2/+1 |
| | | | | | | * http.c [WIN32]: Define MB_CUR_MAX. (connect_server): use unsigned long since W32 does not have in_addr_t. | ||||
* | * dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c, | David Shaw | 2003-08-28 | 1 | -7/+10 |
| | | | | | | | | | ttyio.c, w32reg.c: s/__MINGW32__/_WIN32/ to help building on native Windows compilers. Requested by Brian Gladman. From Werner on stable branch. * http.c (connect_server): Oops - forgot to freeaddrinfo(). | ||||
* | * http.c (connect_server): Try and use getaddrinfo if it is available. | David Shaw | 2003-08-25 | 1 | -51/+75 |
| | | | | | | Try for IPv6 via getaddrinfo() or a IPv6-ized gethostbyname(). Suggested by Jun-ichiro itojun Hagino. | ||||
* | * argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c, | David Shaw | 2003-05-24 | 1 | -19/+19 |
| | | | | | | | | simple-gettext.c, errors.c, http.c, memory.c, secmem.c, ttyio.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it. | ||||
* | * http.c (connect_server): Use DNS SRV to get a server list. Fail over to | David Shaw | 2003-03-11 | 1 | -50/+85 |
| | | | | | | | A records if necessary. * Makefile.am, srv.h, srv.c: New DNS SRV handling code. | ||||
* | * http.c (connect_server): Try all A records for names with multiple | David Shaw | 2002-10-17 | 1 | -66/+75 |
| | | | | | addresses until one answers for both MINGW32 and not MINGW32. | ||||
* | * http.c (connect_server): Properly handle a single A record that fails | David Shaw | 2002-10-11 | 1 | -3/+4 |
| | | | | | connect(). | ||||
* | * http.c (connect_server): Try all A records for names with multiple | David Shaw | 2002-09-24 | 1 | -4/+17 |
| | | | | | addresses until one answers (not MINGW32). | ||||
* | Update head to match stable 1.0 | David Shaw | 2002-06-29 | 1 | -65/+166 |
| | |||||
* | See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch | Werner Koch | 2000-07-14 | 1 | -9/+33 |
| | |||||
* | See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner Koch | Werner Koch | 2000-01-27 | 1 | -18/+20 |
| | |||||
* | See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner Koch | Werner Koch | 2000-01-24 | 1 | -10/+10 |
| | |||||
* | See ChangeLog: Sun May 23 14:20:22 CEST 1999 Werner Koch | Werner Koch | 1999-05-23 | 1 | -0/+4 |
| | |||||
* | See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner Koch | Werner Koch | 1999-04-18 | 1 | -5/+5 |
| | |||||
* | See ChangeLog: Sat Mar 20 11:53:40 CET 1999 Werner Koch | Werner Koch | 1999-03-20 | 1 | -1/+2 |
| | |||||
* | See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner Koch | Werner Koch | 1999-02-16 | 1 | -16/+16 |
| |