Loading CHANGES +29 −5 Original line number Diff line number Diff line Loading @@ -6,6 +6,28 @@ 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) - Mathieu Legare compiled and build 7.1 without errors on both AIX 4.2 as well Loading @@ -16,19 +38,21 @@ Daniel (15 August 2000) screwed up! 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 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 Linux Redhat installation... Daniel (10 August 2000) - Balaji S Rao missed the possibility of replacing the Content-Type: and Content-Length: headers when doing -d posts. I added the possibility just now - Balaji S Rao was first in line to note the missing possibility to replace 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) - Mike Dowell correctly discovered that curl did not approve URLs with no user name but password. As in 'http://:foo@haxx.se'. I corrected this. - Mike Dowell correctly discovered that curl did not approve of URLs with no user name but password. As in 'http://:foo@haxx.se'. I corrected this. Version 7.1 Loading README +1 −2 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ README README.curl document. Find out how to install Curl by reading the INSTALL 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 find out how! Loading @@ -25,7 +25,6 @@ README Sweden -- ftp://ftp.sunet.se/pub/www/utilities/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: Loading config.h.in +0 −6 Original line number Diff line number Diff line Loading @@ -10,12 +10,6 @@ /* Define to empty if the keyword does not work. */ #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). */ #undef RETSIGTYPE Loading configure.in +10 −10 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ dnl $Id$ dnl Process this file with autoconf to produce a configure script. AC_INIT(lib/urldata.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 dnl Loading Loading @@ -184,13 +184,12 @@ dnl check for a few thread-safe functions #include <sys/types.h> #include <netdb.h>], [ struct hostent *hp; struct hostent h; struct hostent_data hdata; char *name; char buffer[10]; int h_errno; hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);], ac_cv_gethostbyname_args=5) int rc; rc = gethostbyname_r(name, &h, &hdata);], ac_cv_gethostbyname_args=3) fi if test -z "$ac_cv_gethostbyname_args"; then AC_TRY_COMPILE( Loading @@ -198,12 +197,13 @@ hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);], #include <sys/types.h> #include <netdb.h>], [ struct hostent *hp; struct hostent h; struct hostent_data hdata; char *name; int rc; rc = gethostbyname_r(name, &h, &hdata);], ac_cv_gethostbyname_args=3) char buffer[10]; int h_errno; hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);], ac_cv_gethostbyname_args=5) fi if test -z "$ac_cv_gethostbyname_args"; then AC_TRY_COMPILE( Loading docs/TODO +15 −25 Original line number Diff line number Diff line Loading @@ -6,36 +6,27 @@ 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.) For the future Make sure the low-level interface works. highlevel.c should basically be possible to write using that interface. Ok, this is what I wanna do with Curl. Please tell me what you think, and please don't hesitate to contribute and send me patches that improve this product! (Yes, you may add things not mentioned here, these are just a few teasers...) Document the low-level interface * 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 * 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 * 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) * Add support for other languages than C (not important) Improve the -K config file parser. * Improve the -K config file parser. For the future Ok, this is what I wanna do with Curl. Please tell me what you think, and please don't hesitate to contribute and send me patches that improve this product! (Yes, you may add things not mentioned here, these are just a few teasers...) * rtsp:// support -- "Real Time Streaming Protocol" RFC 2326 * rtsp:// support -- "Real Time Streaming Protocol" (RFC 2326) * "Content-Encoding: compress/gzip/zlib" Loading Loading @@ -101,9 +92,6 @@ For the future RFC 2428 "FTP Extensions for IPv6 and NATs" will be interesting. PORT 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... (http://search.ietf.org/internet-drafts/draft-murray-auth-ftp-ssl-05.txt) Loading @@ -112,3 +100,5 @@ For the future * Make curl capable of verifying the server's certificate when connecting with HTTPS://. * Kerberos-FTP Loading
CHANGES +29 −5 Original line number Diff line number Diff line Loading @@ -6,6 +6,28 @@ 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) - Mathieu Legare compiled and build 7.1 without errors on both AIX 4.2 as well Loading @@ -16,19 +38,21 @@ Daniel (15 August 2000) screwed up! 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 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 Linux Redhat installation... Daniel (10 August 2000) - Balaji S Rao missed the possibility of replacing the Content-Type: and Content-Length: headers when doing -d posts. I added the possibility just now - Balaji S Rao was first in line to note the missing possibility to replace 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) - Mike Dowell correctly discovered that curl did not approve URLs with no user name but password. As in 'http://:foo@haxx.se'. I corrected this. - Mike Dowell correctly discovered that curl did not approve of URLs with no user name but password. As in 'http://:foo@haxx.se'. I corrected this. Version 7.1 Loading
README +1 −2 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ README README.curl document. Find out how to install Curl by reading the INSTALL 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 find out how! Loading @@ -25,7 +25,6 @@ README Sweden -- ftp://ftp.sunet.se/pub/www/utilities/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: Loading
config.h.in +0 −6 Original line number Diff line number Diff line Loading @@ -10,12 +10,6 @@ /* Define to empty if the keyword does not work. */ #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). */ #undef RETSIGTYPE Loading
configure.in +10 −10 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ dnl $Id$ dnl Process this file with autoconf to produce a configure script. AC_INIT(lib/urldata.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 dnl Loading Loading @@ -184,13 +184,12 @@ dnl check for a few thread-safe functions #include <sys/types.h> #include <netdb.h>], [ struct hostent *hp; struct hostent h; struct hostent_data hdata; char *name; char buffer[10]; int h_errno; hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);], ac_cv_gethostbyname_args=5) int rc; rc = gethostbyname_r(name, &h, &hdata);], ac_cv_gethostbyname_args=3) fi if test -z "$ac_cv_gethostbyname_args"; then AC_TRY_COMPILE( Loading @@ -198,12 +197,13 @@ hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);], #include <sys/types.h> #include <netdb.h>], [ struct hostent *hp; struct hostent h; struct hostent_data hdata; char *name; int rc; rc = gethostbyname_r(name, &h, &hdata);], ac_cv_gethostbyname_args=3) char buffer[10]; int h_errno; hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);], ac_cv_gethostbyname_args=5) fi if test -z "$ac_cv_gethostbyname_args"; then AC_TRY_COMPILE( Loading
docs/TODO +15 −25 Original line number Diff line number Diff line Loading @@ -6,36 +6,27 @@ 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.) For the future Make sure the low-level interface works. highlevel.c should basically be possible to write using that interface. Ok, this is what I wanna do with Curl. Please tell me what you think, and please don't hesitate to contribute and send me patches that improve this product! (Yes, you may add things not mentioned here, these are just a few teasers...) Document the low-level interface * 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 * 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 * 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) * Add support for other languages than C (not important) Improve the -K config file parser. * Improve the -K config file parser. For the future Ok, this is what I wanna do with Curl. Please tell me what you think, and please don't hesitate to contribute and send me patches that improve this product! (Yes, you may add things not mentioned here, these are just a few teasers...) * rtsp:// support -- "Real Time Streaming Protocol" RFC 2326 * rtsp:// support -- "Real Time Streaming Protocol" (RFC 2326) * "Content-Encoding: compress/gzip/zlib" Loading Loading @@ -101,9 +92,6 @@ For the future RFC 2428 "FTP Extensions for IPv6 and NATs" will be interesting. PORT 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... (http://search.ietf.org/internet-drafts/draft-murray-auth-ftp-ssl-05.txt) Loading @@ -112,3 +100,5 @@ For the future * Make curl capable of verifying the server's certificate when connecting with HTTPS://. * Kerberos-FTP