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