1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

7.1.1 cleanup commit

This commit is contained in:
Daniel Stenberg 2000-08-21 21:56:41 +00:00
parent af352740db
commit e559a7b872
6 changed files with 57 additions and 48 deletions

34
CHANGES
View File

@ -6,6 +6,28 @@
History of Changes History of Changes
Version 7.1.1
Daniel (21 August 2000)
- Got more people involved in the gethostbyname_r() mess. Caolan McNamara sent
me configure-code that turned out to be very similar to my existing tests
which only make me more sure I'm on the right path. I changed the order of
the tests slightly, as it seems that some compilers don't yell error if a
function is used with too many parameters. Thus, the first tested function
will seem ok... Let's hope more compilers think of too-few parameters as bad
manners, as we're now trying the functions in that order; fewer first. I
should also add that Lars Hecking mailed me and volunteered to run tests on
a few odd systems. Coalan is keeping his work over at
http://www.csn.ul.ie/~caolan/publink/gethostbyname_r/. Might be handy in the
future as well.
Daniel (18 August 2000)
- I noticed I hadn't increased the name lookup buffer in lib/ftp.c. I don't
think this is the reason for the continued trouble though.
Daniel (17 August 2000)
- Fred Noz corrected my stupid mistakes in the gethostbyname_r() fluff. It
should affect some AIX, Digital Unix and HPUX 10 systems.
Daniel (15 August 2000) Daniel (15 August 2000)
- Mathieu Legare compiled and build 7.1 without errors on both AIX 4.2 as well - Mathieu Legare compiled and build 7.1 without errors on both AIX 4.2 as well
@ -16,19 +38,21 @@ Daniel (15 August 2000)
screwed up! screwed up!
Daniel (11 August 2000) Daniel (11 August 2000)
- Jason Priebe and an anynomous friend found some host names the Linux version - Jason Priebe and an anonymous friend found some host names the Linux version
of curl could not resolve. It turned out the buffer used to retrieve that of curl could not resolve. It turned out the buffer used to retrieve that
information was too small. Fixed. One could argue about the usefulness of information was too small. Fixed. One could argue about the usefulness of
not having the slightest trace of a man page for gethostbyname_r() on my not having the slightest trace of a man page for gethostbyname_r() on my
Linux Redhat installation... Linux Redhat installation...
Daniel (10 August 2000) Daniel (10 August 2000)
- Balaji S Rao missed the possibility of replacing the Content-Type: and - Balaji S Rao was first in line to note the missing possibility to replace
Content-Length: headers when doing -d posts. I added the possibility just now the Content-Type: and Content-Length: headers when doing -d posts. I added
the possibility just now. It seems some people wants to do standard posts
using custom Content-Types.
Daniel (8 August 2000) Daniel (8 August 2000)
- Mike Dowell correctly discovered that curl did not approve URLs with no user - Mike Dowell correctly discovered that curl did not approve of URLs with no
name but password. As in 'http://:foo@haxx.se'. I corrected this. user name but password. As in 'http://:foo@haxx.se'. I corrected this.
Version 7.1 Version 7.1

3
README
View File

@ -11,7 +11,7 @@ README
README.curl document. Find out how to install Curl by reading the INSTALL README.curl document. Find out how to install Curl by reading the INSTALL
document. document.
libcurl is a link-library that Curl is using to do its job. It is readily libcurl is a library that Curl is using to do its job. It is readily
available to be used by your software. Read the README.libcurl document to available to be used by your software. Read the README.libcurl document to
find out how! find out how!
@ -25,7 +25,6 @@ README
Sweden -- ftp://ftp.sunet.se/pub/www/utilities/curl/ Sweden -- ftp://ftp.sunet.se/pub/www/utilities/curl/
Germany -- ftp://ftp.fu-berlin.de/pub/unix/network/curl/ Germany -- ftp://ftp.fu-berlin.de/pub/unix/network/curl/
China -- http://www.pshowing.com/curl/
To download the very latest source off the CVS server do this: To download the very latest source off the CVS server do this:

View File

@ -10,12 +10,6 @@
/* Define to empty if the keyword does not work. */ /* Define to empty if the keyword does not work. */
#undef const #undef const
/* Define if you don't have vprintf but do have _doprnt. */
#undef HAVE_DOPRNT
/* Define if you have the vprintf function. */
#undef HAVE_VPRINTF
/* Define as the return type of signal handlers (int or void). */ /* Define as the return type of signal handlers (int or void). */
#undef RETSIGTYPE #undef RETSIGTYPE

View File

@ -2,7 +2,7 @@ dnl $Id$
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_INIT(lib/urldata.h) AC_INIT(lib/urldata.h)
AM_CONFIG_HEADER(config.h src/config.h) AM_CONFIG_HEADER(config.h src/config.h)
AM_INIT_AUTOMAKE(curl,"7.1") AM_INIT_AUTOMAKE(curl,"7.1.1")
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
dnl dnl
@ -184,13 +184,12 @@ dnl check for a few thread-safe functions
#include <sys/types.h> #include <sys/types.h>
#include <netdb.h>], #include <netdb.h>],
[ [
struct hostent *hp;
struct hostent h; struct hostent h;
struct hostent_data hdata;
char *name; char *name;
char buffer[10]; int rc;
int h_errno; rc = gethostbyname_r(name, &h, &hdata);],
hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);], ac_cv_gethostbyname_args=3)
ac_cv_gethostbyname_args=5)
fi fi
if test -z "$ac_cv_gethostbyname_args"; then if test -z "$ac_cv_gethostbyname_args"; then
AC_TRY_COMPILE( AC_TRY_COMPILE(
@ -198,12 +197,13 @@ hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);],
#include <sys/types.h> #include <sys/types.h>
#include <netdb.h>], #include <netdb.h>],
[ [
struct hostent *hp;
struct hostent h; struct hostent h;
struct hostent_data hdata;
char *name; char *name;
int rc; char buffer[10];
rc = gethostbyname_r(name, &h, &hdata);], int h_errno;
ac_cv_gethostbyname_args=3) hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);],
ac_cv_gethostbyname_args=5)
fi fi
if test -z "$ac_cv_gethostbyname_args"; then if test -z "$ac_cv_gethostbyname_args"; then
AC_TRY_COMPILE( AC_TRY_COMPILE(

View File

@ -6,26 +6,6 @@
TODO TODO
For version 7. Stuff I palnned to have included in curl for version
seven. Let's do a serious attempt to include most of this. (I do keep a task
list over at the sourceforge.net project space, reachable from
curl.sourceforge.net, it might be more up-to-date than this.)
Make sure the low-level interface works. highlevel.c should basically be
possible to write using that interface.
Document the low-level interface
Add asynchronous name resolving, as this enables full timeout support for
fork() systems.
Move non-URL related functions that are used by both the lib and the curl
application to a separate "portability lib".
Add support for other languages than C (not important)
Improve the -K config file parser.
For the future For the future
Ok, this is what I wanna do with Curl. Please tell me what you think, and Ok, this is what I wanna do with Curl. Please tell me what you think, and
@ -33,9 +13,20 @@ For the future
product! (Yes, you may add things not mentioned here, these are just a product! (Yes, you may add things not mentioned here, these are just a
few teasers...) few teasers...)
* rtsp:// support -- "Real Time Streaming Protocol" * Make sure the low-level interface works. highlevel.c should basically be
possible to write using that interface. Document the low-level interface
RFC 2326 * Add asynchronous name resolving, as this enables full timeout support for
fork() systems.
* Move non-URL related functions that are used by both the lib and the curl
application to a separate "portability lib".
* Add support for other languages than C (not important)
* Improve the -K config file parser.
* rtsp:// support -- "Real Time Streaming Protocol" (RFC 2326)
* "Content-Encoding: compress/gzip/zlib" * "Content-Encoding: compress/gzip/zlib"
@ -101,9 +92,6 @@ For the future
RFC 2428 "FTP Extensions for IPv6 and NATs" will be interesting. PORT RFC 2428 "FTP Extensions for IPv6 and NATs" will be interesting. PORT
should be replaced with EPRT for IPv6, and EPSV instead of PASV. should be replaced with EPRT for IPv6, and EPSV instead of PASV.
* An automatic RPM package maker
Please, write me a script that makes it. It'd make my day.
* SSL for more protocols, like SSL-FTP... * SSL for more protocols, like SSL-FTP...
(http://search.ietf.org/internet-drafts/draft-murray-auth-ftp-ssl-05.txt) (http://search.ietf.org/internet-drafts/draft-murray-auth-ftp-ssl-05.txt)
@ -112,3 +100,5 @@ For the future
* Make curl capable of verifying the server's certificate when connecting * Make curl capable of verifying the server's certificate when connecting
with HTTPS://. with HTTPS://.
* Kerberos-FTP

View File

@ -603,6 +603,8 @@ If you do find any (or have other suggestions), mail Daniel Stenberg
- Luong Dinh Dung <u8luong@lhsystems.hu> - Luong Dinh Dung <u8luong@lhsystems.hu>
- Torsten Foertsch <torsten.foertsch@gmx.net> - Torsten Foertsch <torsten.foertsch@gmx.net>
- Kristian Köhntopp <kris@koehntopp.de> - Kristian Köhntopp <kris@koehntopp.de>
- Fred Noz <FNoz@siac.com>
- Caolan McNamara <caolan@csn.ul.ie>
.SH WWW .SH WWW
http://curl.haxx.se http://curl.haxx.se