David Shaw
acdcbd6550
* http.c (send_request): Add a Host: header for virtual hosts.
2003-12-06 18:35:32 +00:00
David Shaw
9a69b07bd7
* http.c (connect_server): Differentiate between generic "can't connect"
...
errors and the more specific "host not found". Suggested by Samuel
Tardieu.
2003-11-01 14:27:10 +00:00
Timo Schulz
046493fce9
2003-09-21 Timo Schulz <twoaday@freakmail.de>
...
* http.c [WIN32]: Define MB_CUR_MAX.
(connect_server): use unsigned long since W32 does not have in_addr_t.
2003-09-21 17:36:51 +00:00
David Shaw
cd06705184
* dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c,
...
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-28 23:29:32 +00:00
David Shaw
68c898372b
* http.c (connect_server): Try and use getaddrinfo if it is available.
...
Try for IPv6 via getaddrinfo() or a IPv6-ized gethostbyname(). Suggested
by Jun-ichiro itojun Hagino.
2003-08-25 02:18:45 +00:00
David Shaw
c84fdfbe62
* argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c,
...
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-05-24 16:53:14 +00:00
David Shaw
81844d2b65
* http.c (connect_server): Use DNS SRV to get a server list. Fail over to
...
A records if necessary.
* Makefile.am, srv.h, srv.c: New DNS SRV handling code.
2003-03-11 22:04:53 +00:00
David Shaw
9d32f6f06b
* http.c (connect_server): Try all A records for names with multiple
...
addresses until one answers for both MINGW32 and not MINGW32.
2002-10-17 12:45:58 +00:00
David Shaw
4849c0ab7b
* http.c (connect_server): Properly handle a single A record that fails
...
connect().
2002-10-11 02:24:59 +00:00
David Shaw
c5faf2270a
* http.c (connect_server): Try all A records for names with multiple
...
addresses until one answers (not MINGW32).
2002-09-24 21:06:20 +00:00
David Shaw
3f51f7db3d
Update head to match stable 1.0
2002-06-29 13:46:34 +00:00
Werner Koch
92cd255508
See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch
2000-07-14 17:34:53 +00:00
Werner Koch
baa30ad117
See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner Koch
2000-01-27 16:50:45 +00:00
Werner Koch
0070faa0ff
See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner Koch
2000-01-24 11:55:49 +00:00
Werner Koch
c7447e78e2
See ChangeLog: Sun May 23 14:20:22 CEST 1999 Werner Koch
1999-05-23 12:29:05 +00:00
Werner Koch
1feae2011c
See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner Koch
1999-04-18 08:18:52 +00:00
Werner Koch
fb8dbdbd95
See ChangeLog: Sat Mar 20 11:53:40 CET 1999 Werner Koch
1999-03-20 10:53:39 +00:00
Werner Koch
e1a1b3fc90
See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner Koch
1999-02-16 13:16:33 +00:00
Werner Koch
9ef0f26270
See ChangeLog: Thu Jan 21 06:22:10 CET 1999 Werner Koch
1999-01-21 05:25:29 +00:00
Werner Koch
7debff3867
See ChangeLog: Wed Jan 20 18:59:49 CET 1999 Werner Koch
1999-01-20 18:10:35 +00:00
Werner Koch
ce650acf1f
See ChangeLog: Tue Jan 19 19:34:58 CET 1999 Werner Koch
1999-01-19 18:37:41 +00:00
Werner Koch
38008c1c20
See ChangeLog: Sat Jan 16 21:25:17 CET 1999 Werner Koch
1999-01-16 20:26:09 +00:00