🠰 4.10 all changes 5.2 🠲
Changes in 5.0 - December 1 1998
Changes:
- Introducing the new -F flag for HTTP POST. It supports multipart/form-data which means it is gonna be possible to upload files etc through HTTP POST.
- Added a 'configure' script
- Use -H/--header for custom HTTP-headers. Lets you pass on your own specified headers to the remote server.
- Use -B/--ftp-ascii to force ftp to use ASCII mode when transfering files.
- Use -q AS THE FIRST OPTION specified to prevent .curlrc from being read.
Bugfixes:
- Corrected getpass.c and main.c to compile warning and error free with the Win32 VC++ crap.
- I changed the TAG-system. If you ever used urlget() from this package in another product, you need to recompile with the new headers.
- Win32 compiled with a silly error. Corrected now.
- Yet another problem in multiline FTP responses.
- Improved the 'maketgz' to create a temporary directory tree which it makes an archive from instead of the previous renaming of the current one.
- Mailing list opened (see README).
- Made -v more verbose on the PASV section of ftp transfers. Now it tells hostname and IP of the new host (and port number). I also added a section about PORT vs PASV in the README.
- Introduced automake stuff.
- Just made a successful GET of a document from an SSL-server using my own private certificate for authentication!
- Corrected another bug in the long parameter name parser.
- Modified getpass.c
- We may have removed the silly warnings from url.c when compiled under IRIX.
- Wrote formfind.pl which is a new perl script intended to help you find out how a FORM submission should be done.
- Made the HTTP header-checker accept white spaces before the HTTP/1.? line. Appearantly some proxies/sites add such at times (my test proxy did when I downloaded a gopher page with it)!
- Moved the former -h to -M and made -h show the short help text instead. I had to enable a forced help text option. Now an even shorter help text will be presented when an unknown option and similar, is used.
- stdcheaders.h didn't work with IRIX 6.4 native cc compiler. I hope my changes don't make other versions go nuts instead.
- Added a check in the configure script to check for the silly AIX warnings about my #define strcasecmp() stuff. I do that define to prevent me and other contributors to accidentaly use that function name instead of strequal()...
- I bugfixed Angus's getpass.c very little.
- Fixed the verbose flag names to getopt-style, i.e 'curl --loc' will be sufficient instead of --location as "loc" is a unique prefix.
- Another getopt-adjust; curl now accepts flags after the URL on the command line. 'curl www.foo.com -O' is perfectly valid.
- Corrected the .curlrc parser so that strtok() is no longer used and I believe it works better. Even URLs can be specified in it now.
- Replaced getpass.c with a newly written one, not under GPL license
- Changed OS to a #define in config.h instead of compiler flag
- Makefile now uses -DHAVE_CONFIG_H
- Expanded the tgz-target to update the version string on each occation I build a release archive!
- Remade the parameter parser to be more getopt compliant. Curl now supports "merged" flags as in "curl -lsv ftp.site.com"
- I've changed the headers in all files that are subject to the MozPL license, as they are supposed to look like when conforming.
- Made the configure script make the config.h. The former config.h is now setup.h.
- The RESOURCES and TODO files have been added to the archive.
- Fixed getpass.c and various configure stuff
- Corrected the 'getlinks.pl' script
- SSLeay versions prior to 0.8 will *not* work with curl!
- Fixed a bug that occurred since curl did not properly use CRLF when issuing ftp commands.
- Rearranged the order config files are read. .curlrc is now *always* read first and before the command line flags. -K config files then act as additional config items.
- You can now disable a proxy by using -x "". Useful if the .curlrc file specifies a proxy and you wanna fetch something without going through that.
- I'm thinking of dropping the -p support. Its really not useful since ports could (and should?) be specified as :<port> appended on the hostname instead, both in URLs and to proxy hostnames.
- curl -L bugs under Windows NT (test with URL http://come.to/scsde). This bug is not present in this version anymore.
- Added support for the weird FTP URL type= thing. You can download a file using ASCII transfer by appending ";type=A" to the right of it. Other available types are type=D for dir-list (NLST) and type=I for binary transfer.
- A bug in my getenv("HOME") usage for win32 systems.
- Building curl with SSL under FreeBSD should work better and automatically now.
- Cleaned up in the port number mess in the source. No longer stores and uses proxy port number separate from normal port number.
- The 5beta (and 4.10) under win32 failed if the HOME variable wasn't set.
- When using a proxy, curl now guesses and uses the protocol part in cases like: "curl -x proxy:80 www.site.com". Proxies normally go nuts unless http:// is prepended to the hostname, so if curl is used like this, it guesses protocol and appends the protocol string before passing it to the proxy. It already did this when used without proxy.
- Better port usage with SSL through proxy now. If you specified a different https-port when accessing through a proxy, it didn't use that number correctly. I also rewrote the code that parses the stuff read from the proxy when you wanna connect through it with SSL.
- Work-around one of the compiler warnings on IRIX native cc compiles.