aboutsummaryrefslogtreecommitdiffstats
path: root/util/http.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Last changes for W32RC-1-4-1rc1Werner Koch2005-02-031-1/+1
|
* * http.c (connect_server): Fix fd leak when connecting to a round-robinDavid Shaw2005-02-011-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 Shaw2005-01-131-1/+1
| | | | | Noted by Timo.
* Better implementation for the SRV check. We don't need to actually checkDavid Shaw2004-12-291-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 Shaw2004-12-031-6/+14
| | | | | Noted by Jason Harris.
* * http.c (connect_server, send_request): Use the URI scheme as the SRV tagDavid Shaw2004-10-181-16/+22
| | | | | rather than hard-coding _hkp.
* * http.c (connect_server): [_WIN32] actually fill in the sin_addr so weDavid Shaw2004-10-161-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 authDavid Shaw2004-09-101-16/+78
| | | | | for proxies and direct requests. Suggested by Florent Thoumie.
* * http.c (main): Fix test code for http-test.David Shaw2004-09-101-2/+2
|
* * http.c (insert_escapes): Fix encoding problem for non-URI-safeDavid Shaw2004-08-191-2/+2
| | | | | characters. Noted by Vladimir Novak.
* * http.c (send_request, http_open_document, http_open): Pass the httpDavid Shaw2003-12-281-29/+16
| | | | | proxy from outside rather than pulling it from the evironment.
* * http.c (send_request): Add a Host: header for virtual hosts.David Shaw2003-12-061-5/+3
|
* * http.c (connect_server): Differentiate between generic "can't connect"David Shaw2003-11-011-4/+12
| | | | | | errors and the more specific "host not found". Suggested by Samuel Tardieu.
* 2003-09-21 Timo Schulz <[email protected]>Timo Schulz2003-09-211-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 Shaw2003-08-281-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 Shaw2003-08-251-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 Shaw2003-05-241-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 toDavid Shaw2003-03-111-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 multipleDavid Shaw2002-10-171-66/+75
| | | | | addresses until one answers for both MINGW32 and not MINGW32.
* * http.c (connect_server): Properly handle a single A record that failsDavid Shaw2002-10-111-3/+4
| | | | | connect().
* * http.c (connect_server): Try all A records for names with multipleDavid Shaw2002-09-241-4/+17
| | | | | addresses until one answers (not MINGW32).
* Update head to match stable 1.0David Shaw2002-06-291-65/+166
|
* See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch2000-07-141-9/+33
|
* See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch2000-01-271-18/+20
|
* See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch2000-01-241-10/+10
|
* See ChangeLog: Sun May 23 14:20:22 CEST 1999 Werner KochWerner Koch1999-05-231-0/+4
|
* See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner KochWerner Koch1999-04-181-5/+5
|
* See ChangeLog: Sat Mar 20 11:53:40 CET 1999 Werner KochWerner Koch1999-03-201-1/+2
|
* See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1999-02-161-16/+16
|
* See ChangeLog: Thu Jan 21 06:22:10 CET 1999 Werner KochV0-9-2Werner Koch1999-01-211-2/+3
|
* See ChangeLog: Wed Jan 20 18:59:49 CET 1999 Werner KochWerner Koch1999-01-201-6/+76
|
* See ChangeLog: Tue Jan 19 19:34:58 CET 1999 Werner KochWerner Koch1999-01-191-37/+89
|
* See ChangeLog: Sat Jan 16 21:25:17 CET 1999 Werner KochWerner Koch1999-01-161-0/+625