moved here from the newlib branch
[platform/upstream/curl.git] / CHANGES
1                                   _   _ ____  _     
2                               ___| | | |  _ \| |    
3                              / __| | | | |_) | |    
4                             | (__| |_| |  _ <| |___ 
5                              \___|\___/|_| \_\_____|
6
7                                History of Changes
8
9 Version XX
10
11 Daniel (21 May 2000)
12 - Updated lots of #defines, enums and variable type names in the library. No
13   more weird URG or URLTAG prefixes. All types and names should be curl-
14   prefixed to avoid name space clashes. The FLAGS-parameter to the former
15   curl_urlget() has been converted into a bunch of flags to use in separate
16   setopt calls. I'm still focusing on the easy-interface, as the curl tool is
17   now using that.
18
19 - Bjorn Reese has provided me with an asynchronous name resolver that I plan
20   to use in upcoming versions of curl to be able to gracefully timeout name
21   lookups.
22
23 Version 7.0beta released
24
25 Daniel (18 May 2000)
26 - Introduced LIBCURL_VERSION_NUM to the curl.h include file to better allow
27   source codes to be dependent on the lib version. This define is now set to
28   a dexadecimal number, with 8 bits each for major number, minor number and
29   patch number. In other words, version 1.2.3 would make it 0x010203. It also
30   makes a larger number a newer version.
31
32 Daniel (17 May 2000)
33 - Martin Kammerhofer correctly pointed out several flaws in the FTP range
34   option. I corrected them.
35 - Removed the win32 winsock init crap from the lib to the src/main.c file
36   in the application instead. They can't be in the lib, especially not for
37   multithreaded purposes.
38
39 Daniel (16 May 2000)
40 - Rewrote the src/main.c source to use the new easy-interface to libcurl 7.
41   There is still more work to do, but the first step is now taken.
42   <curl/easy.h> is the include file to use.
43
44 Daniel (14 May 2000)
45 - FTP URLs are now treated slightly different, more according to RFC 1738.
46 - FTP sessions are now performed differently, with CWD commands to change
47   directory instead of RETR/STOR/LIST with the full path. Discussions with
48   Rich Gray made me notice these problems.
49 - Janne Johansson discovered and corrected a buffer overflow in the
50   src/usrglob.c file.
51 - I had to add a lib/strequal.c file for doing case insensitive string
52   compares on all platforms.
53
54 Daniel (8 May 2000):
55 - Been working lots on the new lib.
56 - Together with Rich Gray, I've tried to adjust the configure script to work
57   better on the NCR MP-RAS Unix.
58
59 Daniel (2 May 2000):
60 - Albert Chin-A-Young pointed out that I had a few too many instructions in
61   configure.in that didn't do any good.
62
63 Daniel (24 April 2000):
64 - Added a new paragraph to the FAQ about what to do when configure can't
65   find OpenSSL even though it is installed. Supplied by Bob Allison
66   <allisonb@users.sourceforge.net>.
67
68 Daniel (12 April 2000):
69 - Started messing around big-time to convert the old library interface to a
70   better one...
71
72 Daniel (8 April 2000):
73 - Made the progress bar look better for file sizes between 9999 kilobytes
74   and 100 megabytes. They're now displayed XX.XM.
75 - I also noticed that ftp fetches through HTTP proxies didn't add the user
76   agent string. It does now.
77 - Habibie <habibie@MailandNews.com> supplied a pretty good way to build RPMs
78   on a Linux machine. It still a) requires me to be root to do it, b) leaves
79   the rpm packages laying at some odd place on my disk c) doesn't work to
80   build the ssl version of curl since I didn't install openssl from an rpm
81   package so now the rpm crap thinks I don't have openssl and refuses to build
82   a package that depends on ssl... Did I mention I don't get along with RPM?
83 - Once again I received a bug report about autoconf not setting -L prior to -l
84   on the command line when checking for libs. In this case it made the native
85   cc compiler on Solaris 7 to fail the OpenSSL check. This has previously been
86   reported to cause problems on HP-UX and is a known flaw in autoconf 2.13. It
87   is a pity there's no newer release around...
88
89 Daniel (4 April 2000):
90 - Marco G. Salvagno <mgs@whiz.cjb.net> supplied me with two fixes that
91   appearantly makes the OS/2 port work better with multiple URLs.
92
93 Daniel (2 April 2000):
94 - Another Location: fix. This time, when curl connected to a port and then
95   followed a location with an absolute URL to another port, it misbehaved.
96
97 Daniel (27 March 2000):
98 - H. Daphne Luong <daphne@tellme.com> pointed out that curl was wrongly
99   messing up the proxy string when fetching a document through a http proxy,
100   which screwed up multiple fetches such as in location: followings.
101
102 Daniel (23 March 2000):
103 - Marco G. Salvagno <mgs@whiz.cjb.net> corrected my badly applied patch he
104   actually already told me about!
105
106 - H. Daphne Luong <daphne@tellme.com> brought me a fix that now makes curl
107   ignore select() errors in the download if errno is EINTR, which turns out to
108   happen every now and then when using libcurl multi-threaded...
109
110 Daniel (22 March 2000):
111 - Wham Bang <wham_bang@yahoo.com> supplied a couple of win32 fixes. HAVE_UNAME
112   was accidentally #defined in config-win32.h, which it shouldn't have been.
113   The HAVE_UNISTD_H is not defined when compiling with the Makefile.vc6
114   makefile for MS VC++.
115
116 Daniel (21 March 2000):
117 - I removed the AC_PROG_INSTALL macro from configure.in, since it appears that
118   one of the AM_* macros searches for a BSD compatible install already. Janne
119   Johansson made me aware of this.
120
121 Version 6.5.2
122
123 Daniel (21 March 2000):
124 - Paul Harrington <paul@pizza.org> quickly pointed out to me that 6.5.1
125   crashes hard. I upload 6.5.2 now as quickly as possible! The problem was
126   the -D adjustments in src/main.c.
127
128 Version 6.5.1
129
130 Daniel (20 March 2000):
131 - An anonymous post on sourceforge correctly pointed out a possible buffer
132   overflow in the curl_unescape() function for URL conversions. The main
133   problem with this bug is that the ftp download uses that function and this
134   single- byte overflow could lead to very odd bugs (as one reported by Janne
135   Johansson).
136
137 Daniel (19 March 2000):
138 - Marco G. Salvagno <mgs@whiz.cjb.net> supplied me with a series of patches
139   that now allows curl to get compiled on OS/2. It even includes a section in
140   the INSTALL file. Very nice job!
141
142 Daniel (17 March 2000):
143 - Wham Bang <wham_bang@yahoo.com> supplied a patch for the lib/Makefile.vc6
144   file. We still need some fixes for the config-win32.h since it appears that
145   VC++ and mingw32 have different opinions about (at least) unistd.h's
146   existence.
147
148 Daniel (15 March 2000):
149 - I modified the -D/--dump-header workings so that it doesn't write anything
150   to the file until it needs to. This way, you can actually use -b and -D
151   on the same file if you want repeated invokes to store and read the cookies
152   in that one single file.
153
154 - Poked around in lots of texts. Added the BUGS file for bug reporting stuff.
155   Added the classic HTTP POST question to the FAQ, removed some #ifdef WIN32
156   stuff from the sources (they're covered by the config-win32.h now).
157
158 - Pascal Gaudette <pascal@gaudette.org> fixed a missing ldap.c problem in the
159   Makefile.vc6 file. He also addressed a problem in src/config-win32.h.
160
161 Daniel (14 March 2000):
162 - Paul Harrington pointed out that the 'http_code' variable in the -w output
163   was never written. I fixed it now.
164
165 - Janne Johansson <jj@dynarc.se> reported the complaints that OpenBSD does
166   when getdate.c #includes malloc.h. It claims stdlib.h should be included
167   instead. I added #ifdef HAVE_MALLOC_H code in getdate.y and two checks in
168   the configure.in for malloc.h and stdlib.h.
169
170 Version 6.5
171
172 Daniel (13 March 2000):
173 - <curl@spam.wolvesbane.net> pointed out that the way curl sent cookies in a
174   single line wasn't enjoyed by IIS4.0 servers. In my view, that is not what
175   the standards say, but I added a white space between the name/value pairs to
176   perhaps make them work better.
177
178 - Added the perl check back in the configure.in again since the mkhelp.pl
179   script needs it!
180
181 - Made some beautifications in the curl man page.
182
183 Daniel (3 March 2000):
184 - Jörn helped me update the config-win32.h files with HAVE_SETVBUF and
185   HAVE_STRDUP.
186
187 Daniel (3 March 2000):
188 - Uploaded the 6.5pre2 package.
189
190 Daniel (2 March 2000):
191 - Removed the perl-programs from the distribution, they never made many people
192   happy and I'll still keep them available on the web.
193
194 - Added the -w and -N stuff to the man page. Documented the new progress meter
195   display in README.curl.
196
197 - Jörn Hartroth <Joern.Hartroth@telekom.de>, Chris <cbayliss@csc.come> and Ulf
198   Möller from the openssl development team helped bringing me the details for
199   fixing an OpenSSL usage flaw. It became apparent when they released openssl
200   0.9.5 since that barfed on curl's bad behavior (not seeding a random number
201   thing).
202
203 - Yet another option: -N/--no-buffer disables buffering in the output stream.
204   Probably most useful for very slow transfers when you really want to get
205   every byte curl receives within some preferred time. Andrew <tmr@gci.net>
206   suggested this.
207
208 - Damien Adant <dams@usa.net> mailed me his fixes for making curl compile
209   on Ultrix.
210
211 Daniel (24 February 2000):
212 - Applied Jörn Hartroth's fixes for config-win32.h and lib/Makefile.w32.
213
214   I should also make a note here, if nothing else to myself, that when using
215   the %-syntax for variables in DOS command prompts, you must use two %-
216   letters for each one since that is an escape letter there! Maybe I should
217   use another letter instead!
218
219 - Added more variables to -w:
220
221   'http_code'
222   'time_namelookup'
223   'time_connect'
224   'time_pretransfer'
225   'url_effective'
226
227 - Made -w@filename read the syntax from a file and -w@- reads the syntax from
228   stdin in the good old "standard" curl way.
229
230 Daniel (22 February 2000):
231 - Released a 6.5pre1 version to get some test and user feedback.
232
233 Daniel (21 February 2000):
234
235 - I added the -w/--write-out flag and some variables to go with it. -w is a
236   single string, whatever you enter there will be written out when curl has
237   completed a successful request. There are some variable substitutions and
238   they are specified as '%{variable}' (without the quotes). Variables that
239   exist as of this moment are:
240
241         total_time     - total transfer time in seconds (with 2 decimals)
242         size_download  - total downloaded amount of bytes
243         size_upload    - total uploaded amount of bytes
244         speed_download - the average speed of the entire download
245         speed_upload   - the average speed of the entire upload
246
247   I will of course add more variables, but I need input on these and others.
248
249 - It struck me that the -# progress bar will be hard to just apply on the new
250   progress bar concept. I need some feedback on this before that'll get re-
251   introduced! :-/
252
253 Daniel (16 February 2000):
254 - Jörn Hartroth brought me some fixes for the progress meter and I continued
255   working on it. It seems to work for http download, http post, ftp download
256   and ftp upload. It should be a pretty good test it works generally good.
257
258 - Still need to add the -# progress bar into the new style progress interface.
259
260 - Gonna have a go at my new output option parameter next.
261
262 Daniel (15 February 2000):
263 - The progress meter stuff is slowly taking place. There's more left before it
264   is working ok and everything is tested, but we're reaching there. Slowly!
265
266 Daniel (11 February 2000):
267 - Paul Marquis <pmarquis@iname.com> fixed the config file parsing of curl to
268   deal with any-length lines, removing the previous limit of 4K.
269
270 - Eetu Ojanen <esojanen@jyu.fi>'s suggestion of supporting the @-style for -b
271   is implemented. Now -b@<filename> works as well as the old style. -b@- also
272   similarly reads the cookies from stdin.
273
274 - Reminder: -D should not write to the file until it needs to, in the same way
275   -o does. That would enable curl to use -b and -D on the same file...
276
277 - Ellis Pritchard <ellis@citria.com> made getdate.y work for MacOS X.
278
279 - Paul Harrington <paul@pizza.org> helped me out finding the crash in the
280   cookie parser. He also pointed out curl's habit of sending empty cookies to
281   the server.
282
283 Daniel (8 February 2000):
284  - Ron Zapp <rzapper@yahoo.com> corrected a problem in src/urlglob.c that
285    prevented curl from getting compiled on sunos 4. The problem had to do
286    with the difference in sprintf() return code types.
287
288  - Transfer() should now be able to download and upload simultaneously. Let's
289    do some progress meter fixes later this week.
290
291 Daniel (31 January 2000):
292  - Paul Harrington <paul@pizza.org> found another core dump in the cookie
293    parser. Curl doesn't properly recognize the 'version' keyword and I think
294    that is what caused this. I need to refresh some specs on cookies and see
295    what else curl lacks to improve this a bit more once and for all.
296
297    RFC 2109 clearly specifies how cookies should be dealt with when they are
298    compliant with that spec. I don't think many servers are though...
299
300  - Mark W. Eichin <eichin@thok.org> found that while curl is uploading a form
301    to a web site, it doesn't read incoming data why it'll hang after a while
302    since the socket "pipe" becomes full.
303
304    It took me two hours to rewrite Download() and Upload() into the new
305    single function Transfer(). It even seems to work! More testing is required
306    of course... I should get the header-sending together in a kind of queue
307    and let them get "uploaded" in Transfer() as well.
308
309  - Zhibiao Wu <wuzb@erols.com> pointed out a curl bug in the location: area,
310    although I did not get a reproducible way to do this why I have to wait
311    with fixing anything.
312
313  - Bob Schader <rschader@product-des.com> suggested I should implement resume
314    support for the HTTP PUT operation, and as I think it is a valid suggestion
315    I'll work on it.
316
317 Daniel (25 January 2000):
318  - M Travis Obenhaus <Travis.Obenhaus@aud.alcatel.com> pointed out a manual
319    mixup with -y and -Y that was corrected.
320
321  - Jens Schleusener <Jens.Schleusener@dlr.de> pointed out a problem to compile
322    curl on AIX 4.1.4 and gave me a solution. This problem was already fixed
323    by Jörn's recent #include modifications!
324
325 Daniel (19 January 2000):
326  - Oskar Liljeblad <osk@hem.passagen.se> pointed out and corrected a problem
327    in the Location: following system that made curl following a location: to a
328    different protocol to fail.
329
330    At January 31st I re-considered this fix and the surrounding source code. I
331    could not really see that the patch did any difference, why I removed it
332    again for further research and debugging. (It disabled location: following
333    on server not running on default ports.)
334
335  - Jörn Hartroth <Joern.Hartroth@telekom.de> brought a fix that once again
336    made it possible to select progress bar.
337
338  - Jörn also fixed a few include problems.
339
340 Version 6.4
341
342 Daniel (17 January 2000):
343  - Based on suggestions from Björn Stenberg (bjorn@haxx.nu), I made the
344    progress deal better with larger files and added a "Time" field which shows
345    the time spent on the download so far.
346  - I'm now using the CVS repository on sourceforge.net, which also allows web
347    browsing. See http://curl.haxx.nu.
348
349 Daniel (10 January 2000):
350  - Renumbered some enums in curl/curl.h since tag number 35 was used twice!
351  - Added "postquote" support to the ftp section that enables post-ftp-transfer
352    quote commands.
353  - Now made the -Q/--quote parameter recognize '-' as a prefix, which means
354    that command will be issued AFTER a successful ftp transfer. This can of
355    course be used to delete or rename a file after it has been uploaded or
356    downloaded. Use your imagination! ;-)
357  - Since I do the main development on solaris 2.6 now, I had to download and
358    install GNU groff to generate the hugehelp.c file. The solaris nroff cores
359    on the man page! So, in order to make the solaris configure script find a
360    better result I made gnroff get checked prior to the regular nroff.
361  - Added all the curl exit codes to the man page.
362  - Jim Gallagher <jmgallag@usa.net> properly tracked down a bug in autoconf
363    2.13. The AC_CHECK_LIB() macro wrongfully uses the -l flag before the -L
364    flag to 'ld' which causes the HP-UX 10.20 flavour to fail on all libchecks
365    and therefore you can't make the configure script find the openssl libs!
366
367 Daniel (28 December 1999):
368  - Tim Verhoeven <dj@walhalla.sin.khk.be> correctly identified that curl
369    doesn't support URL formatted file names when getting ftp. Now, there's a
370    problem with getting very weird file names off FTP servers. RFC 959 defines
371    that the file name syntax to use should be the same as in the native OS of
372    the server. Since we don't know the peer server system we currently just
373    translate the URL syntax into plain letters. It is still better and with
374    the solaris 2.6-supplied ftp server it works with spaces in the file names.
375
376 Daniel (27 December 1999):
377  - When curl parsed cookies straight off a remote site, it corrupted the input
378    data, which, if the downloaded headers were stored made very odd characters
379    in the saved data. Correctly identified and reported by Paul Harrington
380    <paul@pizza.org>.
381
382 Daniel (13 December 1999):
383  - General cleanups in the library interface. There had been some bad kludges
384    added during times of stress and I did my best to clean them off. It was
385    both regarding the lib API as well as include file confusions.
386
387 Daniel (3 December 1999):
388  - A small --stderr bug was reported by Eetu Ojanen <esojanen@jyu.fi>...
389
390  - who also brought the suggestion of extending the -X flag to ftp list as
391    well. So, now it is and the long option is now --request instead. It is
392    only for ftp list for now (and the former http stuff too of course).
393
394 Lars J. Aas <larsa@sim.no> (24 November 1999):
395  - Patched curl to compile and build under BeOS. Doesn't work yet though!
396
397  - Corrected the Makefile.am files to allow putting object files in
398    different directories than the sources.
399
400 Version 6.3.1
401
402 Daniel (23 November 1999):
403  - I've had this major disk crash. My good old trust-worthy source disk died
404    along with the machine that hosted it. Thank goodness most of all the
405    things I've done are either backed up elsewhere or stored in this CVS
406    server!
407
408  - Michael S. Steuer <michael@steuer.com> pointed out a bug in the -F handling
409    that made curl hang if you posted an empty variable such as '-F name='. It
410    was one of those old bugs that never have worked properly...
411
412  - Jason Baietto <jason@durians.com> pointed out a general flaw in the HTTP
413    download. Curl didn't complain if it was prematurely aborted before the
414    entire download was completed. It does now.
415
416 Daniel (19 November 1999):
417  - Chris Maltby <chris@aurema.com> very accurately criticized the lack of
418    return code checks on the fwrite() calls. I did a thorough check for all
419    occurrences and corrected this.
420
421 Daniel (17 November 1999):
422  - Paul Harrington <paul@pizza.org> pointed out that the -m/--max-time option
423    doesn't work for the slow system calls like gethostbyname()... I don't have
424    any good fix yet, just a slightly less bad one that makes curl exit hard
425    when the timeout is reached.
426
427  - Bjorn Reese helped me point out a possible problem that might be the reason
428    why Thomas Hurst experience problems in his Amiga version.
429
430  Daniel (12 November 1999):
431  - I found a crash in the new cookie file parser. It crashed when you gave
432    a plain http header file as input...
433
434 Version 6.3
435
436  Daniel (10 November 1999):
437  - I kind of found out that the HTTP time-conditional GETs (-z) aren't always
438    respected by the web server and the document is therefore sent in whole
439    again, even though it doesn't match the requested condition. After reading
440    section 13.3.4 of RFC 2616, I think I'm doing the right thing now when I do
441    my own check as well. If curl thinks the condition isn't met, the transfer
442    is aborted prematurely (after all the headers have been received).
443
444  - After comments from Robert Linden <robert.linden@postcom.deutschepost.de> I
445    also rewrote some parts of the man page to better describe how the -F
446    works.
447
448  - Michael Anti <anti@pshowing.com> put up a new curl download mirror in
449    China:  http://www.pshowing.com/curl/
450
451  - I added the list of download mirrors to the README file
452
453  - I did add more explanations to the man page
454
455  Daniel (8 November 1999):
456  - I made the -b/--cookie option capable of reading netscape formatted cookie
457    files as well as normal http-header files. It should be able to
458    transparently figure out what kind of file it got as input.
459
460  Daniel (29 October 1999):
461  - Another one of Sebastiaan van Erk's ideas (that has been requested before
462    but I seem to have forgotten who it was), is to add support for ranges in
463    FTP downloads. As usual, one request is just a request, when they're two
464    it is a demand. I've added simple support for X-Y style fetches. X has to
465    be the lower number, though you may omit one of the numbers. Use the -r/
466    --range switch (previously HTTP-only).
467
468  - Sebastiaan van Erk <sebster@sebster.com> suggested that curl should be
469    able to show the file size of a specified file. I think this is a splendid
470    idea and the -I flag is now working for FTP. It displays the file size in
471    this manner:
472         Content-Length: XXXX
473    As it resembles normal headers, and leaves us the opportunity to add more
474    info in that display if we can come up with more in the future! It also
475    makes sense since if you access ftp through a HTTP proxy, you'd get the
476    file size the same way.
477
478    I changed the order of the QUOTE command executions. They're now executed
479    just after the login and before any other command. I made this to enable
480    quote commands to run before the -I stuff is done too.
481
482  - I found out that -D/--dump-header and -V/--version weren't documented in
483    the man page.
484
485  - Many HTTP/1.1 servers do not support ranges. Don't ask me why. I did add
486    some text about this in the man page for the range option. The thread in
487    the mailing list that started this was initiated by Michael Anti
488    <anti@pshowing.com>.
489
490  - I get reports about nroff crashes on solaris 2.6+ when displaying the curl
491    man page. Switch to gnroff instead, it is reported to work(!). Adam Barclay
492    <adam@oz.org> reported and brought the suggestion.
493
494  - In a dialogue with Johannes G. Kristinsson <d98is@dtek.chalmers.se> we came
495    up with the idea to let -H/--header specified headers replace the
496    internally generated headers, if you happened to select to add a header
497    that curl normally uses by itself. The advantage with this is not entirely
498    obvious, but in Johannes' case it means that he can use another Host: than
499    the one curl would set.
500
501  Daniel (27 October 1999):
502  - Jongki Suwandi <Jongki.Suwandi@eng.sun.com> brought a nice patch for
503    (yet another) crash when following a location:. This time you had to
504    follow a https:// server's redirect to get the core.
505
506 Version 6.2
507
508  Daniel (21 October 1999):
509  - I think I managed to remove the suspicious (nil) that has been seen just
510    before the "Host:" in HTTP requests when -v was used.
511  - I found out that if you followed a location: when using a proxy, without
512    having specified http:// in the URL, the protocol part was added once again
513    when moving to the next URL! (The protocol part has to be added to the
514    URL when going through a proxy since it has no protocol-guessing system
515    such as curl has.)
516  - Benjamin Ritcey <ritcey@tfn.com> reported a core dump under solaris 2.6
517    with OpenSSL 0.9.4. It turned out this was due to a bad free() in main.c
518    that occurred after the download was done and completed.
519  - Benjamin found ftp downloads to show the first line of the download meter
520    to get written twice, and I removed that problem. It was introduced with
521    the multiple URL support.
522  - Dan Zitter <dzitter@zitter.net> correctly pointed out that curl 6.1 and
523    earlier versions didn't honor RFC 2616 chapter 4 section 2, "Message
524    Headers": "...Field names are case-insensitive..."
525    HTTP header parsing assumed a certain casing. Dan also provided me with
526    a patch that corrected this, which I took the liberty of editing slightly.
527  - Dan Zitter also provided a nice patch for config.guess to better recognize
528    the Mac OS X
529  - Dan also corrected a minor problem in the lib/Makefile that caused linking
530    to fail on OS X.
531
532  Daniel (19 October 1999):
533  - Len Marinaccio <len@goodnet.com> came up with some problems with curl.
534    Since Windows has a crippled shell, it can't redirect stderr and that
535    causes trouble. I added --stderr today which allows the user to redirect
536    the stderr stream to a file or stdout.
537
538  Daniel (18 October 1999):
539  - The configure script now understands the '--without-ssl' flag, which now
540    totally disable SSL/https support. Previously it wasn't possible to force
541    the configure script to leave SSL alone. The previous functionality has
542    been retained. Troy Engel helped test this new one.
543
544 Version 6.1
545
546  Daniel (17 October 1999):
547  - I ifdef'ed or commented all the zlib stuff in the sources and configure
548    script. It turned out we needed to mock more with zlib than I initially
549    thought, to make it capable of downloading compressed HTTP documents and
550    uncompress them on the fly. I didn't mean the zlib parts of curl to become
551    more than minor so this means I halt the zlib expedition for now and wait
552    until someone either writes the code or zlib gets updated and better
553    adjusted for this kind of usage.  I won't get into details here, but a
554    short a summary is suitable:
555    - zlib can't automatically detect whether to use zlib or gzip
556      decompression methods.
557    - zlib is very neat for reading gzipped files from a file descriptor,
558      although not as nice for reading buffer-based data such as we would
559      want it.
560    - there are still some problems with the win32 version when reading from
561      a file descriptor if that is a socket
562
563  Daniel (14 October 1999):
564  - Moved the (external) include files for libcurl into a subdirectory named
565    curl and adjusted all #include lines to use <curl/XXXX> to maintain a
566    better name space and control of the headers. This has been requested.
567
568  Daniel (12 October 1999):
569  - I modified the 'maketgz' script to perform a 'make' too before a release
570    archive is put together in an attempt to make the time stamps better and
571    hopefully avoid the double configure-running that use to occur.
572
573  Daniel (11 October 1999):
574  - Applied Jörn's patches that fixes zlib for mingw32 compiles as well as
575    some other missing zlib #ifdef and more text on the multiple URL docs in
576    the man page.
577
578 Version 6.1beta
579
580  Daniel (6 October 1999):
581  - Douglas E. Wegscheid <wegscd@whirlpool.com> sent me a patch that made the
582    exact same thing as I just made: the -d switch is now capable of reading
583    post data from a named file or stdin.  Use it similarly to the -F. To read
584    the post data from a given file:
585
586         curl -d @path/to/filename www.postsite.com
587
588    or let curl read it out from stdin:
589
590         curl -d @- www.postit.com
591
592  Jörn Hartroth (3 October 1999):
593  - Brought some more patches for multiple URL functionality. The MIME
594    separation ideas are almost scrapped now, and a custom separator is being
595    used instead. This is still compile-time "flagged".
596
597  Daniel
598  - Updated curl.1 with multiple URL info.
599
600  Daniel (30 September 1999):
601  - Felix von Leitner <felix@convergence.de> brought openssl-check fixes
602    for configure.in to work out-of-the-box when the openssl files are
603    installed in the system default dirs.
604
605  Daniel (28 September 1999)
606  - Added libz functionality. This should enable decompressing gzip, compress
607    or deflate encoding HTTP documents. It also makes curl send an accept that
608    it accepts that kind of encoding. Compressed contents usually shortens
609    download time. I *need* someone to tell me a site that uses compressed HTTP
610    documents so that I can test this out properly.
611
612  - As a result of the adding of zlib awareness, I changed the version string
613    a little. I plan to add openldap version reporting in there too.
614
615  Daniel (17 September 1999)
616  - Made the -F option allow stdin when specifying files. By using '-' instead
617    of file name, the data will be read from stdin.
618
619 Version 6.0
620
621  Daniel (13 September 1999)
622  - Added -X/--http-request <request> to enable any HTTP command to be sent.
623    Do not that your server has to support the exact string you enter. This
624    should possibly a string like DELETE or TRACE.
625
626  - Applied Douglas' mingw32-fixes for the makefiles.
627
628  Daniel (10 September 1999)
629  - Douglas E. Wegscheid <wegscd@whirlpool.com> pointed out a problem. Curl
630    didn't check the FTP servers return code properly after the --quote
631    commands were issued. It took anything non 200 as an error, when all 2XX
632    codes should be accepted as OK.
633
634  - Sending cookies to the same site in multiple lines like curl used to do
635    turned out to be bad and breaking the cookie specs. Curl now sends all
636    cookies on a single Cookie: line. Curl is not yet RFC 2109 compliant, but I
637    doubt that many servers do use that syntax (yet).
638
639  Daniel (8 September 1999)
640  - Jörn helped me make sure it still compiles nicely with mingw32 under win32.
641
642  Daniel (7 September 1999)
643  - FTP upload through proxy is now turned into a HTTP PUT. Requested by
644    Stefan Kanthak <Stefan.Kanthak@mchp.siemens.de>.
645
646  - Added the ldap files to the .m32 makefile.
647
648  Daniel (3 September 1999)
649  - Made cookie matching work while using HTTP proxy.
650
651  Bjorn Reese <breese@mail1.stofanet.dk> (31 August 1999)
652  - Passed his ldap:// patch. Note that this requires the openldap shared
653    library to be installed and that LD_LIBRARY_PATH points to the
654    directory where the lib will be found when curl is run with a
655    ldap:// URL.
656
657  Jörn Hartroth <Joern.Hartroth@telekom.de> (31 August 1999)
658  - Made the Mingw32 makefiles into single files.
659  - Made file:// work for Win32. The same code is now used for unix as well for
660    performance reasons.
661
662  Douglas E. Wegscheid <wegscd@whirlpool.com> (30 August 1999)
663  - Patched the Mingw32 makefiles for SSL builds.
664
665  Matthew Clarke <clamat@van.maves.ca> (30 August 1999)
666  - Made a cool patch for configure.in to allow --with-ssl to specify the
667    root dir of the openssl installation, as in
668
669         ./configure --with-ssl=/usr/ssl_here
670
671  - Corrected the 'reconf' script to work better with some shells.
672
673  Jörn Hartroth <Joern.Hartroth@telekom.de> (26 August 1999)
674  - Fixed the Mingw32 makefiles in lib/ and corrected the file.c for win32
675    compiles.
676
677 Version 5.11
678
679  Daniel (25 August 1999)
680  - John Weismiller <johnweis@home.com> pointed out a bug in the header-line
681    realloc() system in download.c.
682
683  - I added lib/file.[ch] to offer a first, simple, file:// support. It
684    probably won't do much good on win32 system at this point, but I see it
685    as a start.
686
687  - Made the release archives get a Makefile in the root dir, which can be
688    used to start the compiling/building process easier. I haven't really
689    changed any INSTALL text yet, I wanted to get some feed-back on this
690    first.
691
692  Daniel (17 August 1999)
693  - Another Location: bug. Curl didn't do proper relative locations if the
694    original URL had cgi-parameters that contained a slash. Nusu's page
695    again.
696
697  - Corrected the NO_PROXY usage. It is a list of substrings that if one of
698    them matches the tail of the host name it should connect to, curl should
699    not use a proxy to connect there. Pointed out to me by Douglas E. Wegscheid
700    <wegscd@whirlpool.com>. I also changed the README text a little regarding
701    this.
702
703  Daniel (16 August 1999)
704  - Fixed a memory bug with http-servers that sent Location: to a Location:
705    page. Nusu's page showed this too.
706
707  - Made cookies work a lot better. Setting the same cookie name several times
708    used to add more cookies instead of replacing the former one which it
709    should've. Nusu <nus@intergorj.ro> brought me an URL that made this
710    painfully visible...
711
712  Troy (15 August 1999)
713  - Brought new .spec files as well as a patch for configure.in that lets the
714    configure script find the openssl files better, even when the include
715    files are in /usr/include/openssl
716
717 Version 5.10
718
719  Daniel (13 August 1999)
720  - SSL_CTX_set_default_passwd_cb() has been modified in the 0.9.4 version of
721    OpenSSL. Now why couldn't they simply add a *new* function instead of
722    modifying the parameters of an already existing function? This way, we get
723    a compiler warning if compiling with 0.9.4 but not with earlier. So, I had
724    to come up with a #if construction that deals with this...
725
726  - Made curl output the SSL version number get displayed properly with 0.9.4.
727
728  Troy (12 August 1999)
729  - Added MingW32 (GCC-2.95) support under Win32. The INSTALL file was also
730    a bit rearranged.
731  
732  Daniel (12 August 1999)
733  - I had to copy a good <arpa/telnet.h> include file into the curl source
734    tree to enable the silly win32 systems to compile. The distribution rights
735    allows us to do that as long as the file remains unmodified.
736
737  - I corrected a few minor things that made the compiler complain when
738    -Wall -pedantic was used.
739
740  - I'm moving the official curl web page to http://curl.haxx.nu. I think it
741    will make it easier to remember as it is a lot shorter and less cryptic.
742    The old one still works and shows the same info.
743
744  Daniel (11 August 1999)
745  - Albert Chin-A-Young mailed me another correction for NROFF in the
746    configure.in that is supposed to be better for IRIX users.
747
748  Daniel (10 August 1999)
749  - Albert Chin-A-Young <china@thewrittenword.com> helped me with some stupid
750    Makefile things, as well as some fiddling with the getdate.c
751    stuff that he had problems with under HP-UX v10. getdate.y will now be
752    compiled into getdate.c if the appropriate yacc or bison is found by the
753    configure script. Since this is slightly new, we need to test the output
754    getdate.c with win32 systems to make sure it still compiles there.
755
756  Daniel (5 August 1999)
757  - I've just setup a new mailing list with the intention to keep discussions
758    around libcurl development in it. I mainly expect it to be for thoughts and
759    brainstorming around a "next generation" library, rather than nitpicking
760    about the current implementation or details in the current libcurl.
761
762    To join our happy bunch of future-looking geeks, enter 'subscribe
763    <address>' in the body of a mail and send it to
764    libcurl-request@listserv.fts.frontec.se.  Curl bug reports, the usual curl
765    talk and everything else should still be kept in this mailing list. I've
766    started to archive this mailing list and have put the libcurl web page at
767    www.fts.frontec.se/~dast/libcurl/.
768
769  - Stefan Kanthak <Stefan.Kanthak@mchp.siemens.de> contacted me regarding a
770    few problems in the configure script which he discovered when trying to
771    make curl compile and build under Siemens SINIX-Z V5.42B2004!
772
773  - Marcus Klein <m.klein@in-olpe.de> very accurately informed me that
774    src/version.h was not present in the CVS repository. Oh, how silly...
775
776  - Linus Nielsen <Linus.Nielsen@sth.frontec.se> rewrote the telnet:// part and
777    now curl offers limited telnet support. If you run curl like 'curl
778    telnet://host' you'll get all output on the screen and curl will read input
779    from stdin. You'll be able to login and run commands etc, but since the
780    output is buffered, expect to get a little weird output.
781
782    This is still in its infancy and it might get changed. We need your
783    feed-back and input in how this is best done.
784
785    WIN32 NOTE: I bet we'll get problems when trying to compile the current
786    lib/telnet.c on win32, but I think we can sort them out in time.
787
788  - David Sanderson <david@transarc.com> reported that FORCE_ALLOCA_H or
789    HAVE_ALLOCA_H must be defined for getdate.c to compile properly on HP-UX
790    11.0. I updated the configure script to check for alloca.h which should
791    make it.
792
793  Daniel (4 August 1999)
794  - I finally got to understand Marcus Klein's ftp download resume problem,
795    which turns out to be due to different outputs from different ftp
796    servers. It makes ftp download resuming a little trickier, but I've made
797    some modifications I really believe will work for most ftp servers and I do
798    hope you report if you have problems with this!
799
800  - Added text about file transfer resuming to README.curl.
801
802  Daniel (2 August 1999)
803  - Applied a progress-bar patch from Lars J. Aas <larsa@sim.no>. It offers
804    a new styled progress bar enabled with -#/--progress-bar. 
805
806  T. Yamada <tai@imasy.or.jp> (30 July 1999)
807  - It breaks with segfault when 1) curl is using .netrc to obtain
808    username/password (option '-n'), and 2) is automatically redirected to
809    another location (option '-L').
810
811    There is a small bug in lib/url.c (block starting from line 641), which
812    tries to take out username/password from user- supplied command-line
813    argument ('-u' option). This block is never executed on first attempt since
814    CONF_USERPWD bit isn't set at first, but curl later turns it on when it
815    checks for CONF_NETRC bit. So when curl tries to redo everything due to
816    redirection, it segfaults trying to access *data->userpwd.
817
818 Version 5.9.1
819
820  Daniel (30 July 1999)
821  - Steve Walch <swalch@cisoft.com> pointed out that there is a memory leak in
822    the formdata functions. I added a FormFree() function that is now used and
823    supposed to correct this flaw.
824
825  - Mark Wotton <mwotton@black.ug.cs.usyd.edu.au> reported:
826    'curl -L https://www.cwa.com.au/' core dumps.  I managed to cure this by
827    correcting the cleanup procedure. The bug seems to be gone with my OpenSSL
828    0.9.2b, although still occurs when I run the ~100 years old SSLeay 0.8.0. I
829    don't know whether it is curl or SSLeay that is to blame for that.
830
831  - Marcus Klein <m.klein@in-olpe.de>:
832    Reported an FTP upload resume bug that I really can't repeat nor understand.
833    I leave it here so that it won't be forgotten.
834
835  Daniel (29 July 1999)
836  - Costya Shulyupin <costya@trivnet.com> suggested support for longer URLs
837    when following Location: and I could only agree and fix it!
838
839  - Leigh Purdie <leighp@defcen.gov.au> found a problem in the upload/POST
840    department. It turned out that http.c accidentaly cleared the pointer
841    instead of the byte counter when supposed to.
842
843  - Costya Shulyupin <costya@trivnet.com> pointed out a problem with port
844    numbers and Location:. If you had a server at a non-standard port that
845    redirected to an URL using a standard port number, curl still used that
846    first port number.
847
848  - Ralph Beckmann <rabe@uni-paderborn.de> pointed out a problem when using both
849    CONF_FOLLOWLOCATION and CONF_FAILONERROR simultaneously. Since the
850    CONF_FAILONERROR exits on the 302-code that the follow location header
851    outputs it will never show any html on location: pages. I have now made it
852    look for >=400 codes if CONF_FOLLOWLOCATION is set.
853
854  - 'struct slist' is now renamed to 'struct curl_slist' (as suggested by Ralph
855    Beckmann).
856
857  - Joshua Swink <jpswink@hotmail.com> and Rick Welykochy <rick@praxis.com.au>
858    were the first to point out to me that the latest OpenSSL package now have
859    moved the standard include path. It is now in
860    /usr/local/ssl/include/openssl and I have now modified the --enable-ssl
861    option for the configure script to use that as the primary path, and I
862    leave the former path too to work with older packages of OpenSSL too.
863
864  Daniel (9 June 1999)
865  - I finally understood the IRIX problem and now it seem to compile on it!
866    I am gonna remove those #define strcasecmp() things once and for all now.
867
868  Daniel (4 June 1999)
869  - I adjusted the FTP reply 227 parser to make the PASV command work better
870    with more ftp servers. Appearantly the Roxen Challanger server replied
871    something curl 5.9 could deal with! :-( Reported by Ashley Reid-Montanaro
872    <ashley@compsoc.man.ac.uk> and Mark Butler <butlerm@xmission.com> brought a
873    solution for it.
874
875  Daniel (26 May 1999)
876  - Rearranged. README is new, the old one is now README.curl and I added a
877    README.libcurl with text I got from Ralph Beckmann <rabe@uni-paderborn.de>.
878
879  - I also updated the INSTALL text.
880
881  Daniel (25 May 1999)
882  - David Jonathan Lowsky <dlowsky@leland.stanford.edu> correctly pointed out
883    that curl didn't properly deal with form posting where the variable 
884    shouldn't have any content, as in curl -F "form=" www.site.com. It was
885    now fixed.
886
887 Version 5.9
888
889  Daniel (22 May 1999)
890  - I've got a bug report from Aaron Scarisbrick <aaronsca@hotmail.com> in
891    which he states he has some problems with -L under FreeBSD 3.0. I have
892    previously got another bug report from Stefan Grether
893    <stefan.grether@ubs.com> which points at an error with similar sympthoms
894    when using win32. I made the allocation of the new url string a bit faster
895    and different, don't know if it actually improves anything though...
896
897  Daniel (20 May 1999)
898  - Made the cookie parser deal with CRLF newlines too.
899
900  Daniel (19 May 1999)
901  - Download() didn't properly deal with failing return codes from the
902    sread() function. Adam Coyne <adam@gamespy.com> found the problem in the
903    win32 version, and Troy Engel helped me out isolating it.
904
905  Daniel (16 May 1999)
906  - Richard Adams <Richard@Slayford.com> pointed out a bug I introduced in
907    5.8. --dump-header doesn't work anymore! :-/ I fixed it now.
908
909  - After a suggestion by Joshua Swink <jpswink@hotmail.com> I added -S /
910    --show-error to force curl to display the error message in case of an
911    error, even if -s/--silent was used.
912
913  Daniel (10 May 1999)
914  - I moved the stuff concerning HTTP, DICT and TELNET it their own source
915    files now. It is a beginning on my clean-up of the sources to make them
916    layer all those protocols better to enable more to be added easier in the
917    future!
918
919  - Leon Breedt <ljb@debian.org> sent me some files I've not put into the main
920    curl archive. They're for creating the Debian package thingie. He also sent
921    me a debian package that I've made available for download at the web page
922
923  Daniel (9 May 1999)
924  - Made it compile on cygwin too.
925
926  Troy Engel (7 May 1999)
927  - Brought a series of patches to allow curl to compile smoothly on MSVC++ 6
928    again!
929
930  Daniel (6 May 1999)
931  - I changed the #ifdef HAVE_STRFTIME placement for the -z code so that it
932    will be easier to discover systems that don't have that function and thus
933    can't use -z successfully. Made the strftime() get used if WIN32 is defined
934    too.
935
936 Version 5.8
937
938  Daniel (5 May 1999)
939  - I've had it with this autoconf/automake mess. It seems to work allright
940    for most people who don't have automake installed, but for those who have
941    there are problems all over.
942
943    I've got like five different bug reports on this only the last
944    week... Claudio Neves <claudio@nextis.com> and Federico Bianchi
945    <bianchi@pc-arte2.arte.unipi.it> and root <duggerj001@hawaii.rr.com> are
946    some of them reporting this.
947
948    Currently, I have no really good fix since I want to use automake myself to
949    generate the Makefile.in files. I've found out that the @SHELL@-problems
950    can often be fixed by manually invoking 'automake' in the archive root
951    before you run ./configure... I've hacked my maketgz script now to fiddle
952    a bit with this and my tests seem to work better than before at least!
953
954  Daniel (4 May 1999)
955  - mkhelp.pl has been doing badly lately. I corrected a case problem in
956    the regexes.
957
958  - I've now remade the -o option to not touch the file unless it needs to.
959    I had to do this to make -z option really fine, since now you can make a
960    curl fetch and use a local copy's time when downloading to that file, as
961    in:
962
963         curl -z dump -o dump remote.site.com/file.html
964
965    This will only get the file if the remote one is newer than the local.
966    I'm aware that this alters previous behaviour a little. Some scripts out
967    there may depend on that the file is always touched...
968
969  - Corrected a bug in the SSLv2/v3 selection.
970
971  - Felix von Leitner <leitner@math.fu-berlin.de> requested that curl should
972    be able to send "If-Modified-Since" headers, which indeed is a fair idea.
973    I implemented it right away! Try -z <expression> where expression is a full
974    GNU date expression or a file name to get the date from!
975
976  Stephan Lagerholm <stephan@unilog.se> (30 Apr 1999)
977  - Pointed out a problem with the src/Makefile for FreeBSD. The RM variable
978    isn't set and causes the make to fail.
979
980  Daniel (26 April 1999)
981  - Am I silly or what? <Irving_Wolfe@wolfe.net> pointed out to me that the
982    curl version number was not set properly. Hasn't been since 5.6. This was
983    due to a bug in my maketgz script!
984
985  David Eriksson <david@2good.com> (25 Apr 1999)
986  - Found a bug in cookies.c that made it crash at times.
987
988 Version 5.7.1
989
990  Doug Kaufman <dkaufman@rahul.net> (23 Apr 1999)
991  - Brought two sunos 4 fixes. One of them being the hostip.c fix mentioned
992    below and the other one a correction in include/stdcheaders.h
993
994  - Added a paragraph about compiling with the US-version of openssl to the
995    INSTALL file.
996
997  Daniel
998  - New mailing list address. Info updated on the web page as well as in the
999    README file
1000
1001  Greg Onufer <Greg.Onufer@Eng.Sun.COM> (20 Apr 1999)
1002  - hostip.c didn't compile properly on SunOS 5.5.1.
1003    It needs an #include <sys/types.h>
1004
1005 Version 5.7
1006
1007  Daniel (Apr 20 1999)
1008  - Decided to upload a non-beta version right now!
1009
1010  - Made curl support any-length HTTP headers. The destination buffer is now
1011    simply enlarged every time it turns out to be too small!
1012
1013  - Added the FAQ file to the archive. Still a bit smallish, but it is a
1014    start.
1015
1016  Eric Thelin <eric@generation-i.com> (15 Apr 1999)
1017  - Made -D accept '-' instead of filename to write to stdout.
1018
1019 Version 5.6.3beta
1020
1021  Daniel (Apr 12 1999)
1022
1023  - Changed two #ifdef WIN32 to better #ifdef <errorcode> when connect()ing
1024    in url.c and ftp.c. Makes cygwin32 deal with them better too. We should
1025    try to get some decent win32-replacement there. Anyone?
1026
1027  - The old -3/--crlf option is now ONLY --crlf!
1028
1029  - I changed the "SSL fix" to a more lame one, but that doesn't remove as
1030    much functionality. Now I've enabled the lib to select what SSL version it
1031    should try first. Appearantly some older SSL-servers don't like when you
1032    talk v3 with them so you need to be able to force curl to talk v2 from the
1033    start. The fix dated April 6 and posted on the mailing list forced curl to
1034    use v2 at all times using a modern OpenSSL version, but we don't really
1035    want such a crippled solution.
1036  
1037  - Marc Boucher <marc@mbsi.ca> sent me a patch that corrected a math error
1038    for the "Curr.Speed" progress meter.
1039
1040  - Eric Thelin <eric@generation-i.com> sent me a patch that enables '-K -'
1041    to read a config file from stdin.
1042
1043  - I found out we didn't close the file properly before so I added it!
1044
1045  Daniel (Apr 9 1999)
1046  - Yu Xin <is@isee.za.net> pointed out a problem with ftp download resume.
1047    It didn't work at all! ;-O
1048
1049  Daniel (Apr 6 1999)
1050  - Corrected the version string part generated for the SSL version.
1051
1052  - I found a way to make some other SSL page work with openssl 0.9.1+ that
1053    previously didn't (ssleay 0.8.0 works with it though!). Trying to get
1054    some real info from the OpenSSL guys to see how I should do to behave the
1055    best way. SSLeay 0.8.0 shouldn't be that much in use anyway these days!
1056
1057 Version 5.6.2beta
1058
1059  Daniel (Apr 4 1999)
1060  - Finally have curl more cookie "aware". Now read carefully. This is how
1061    it works.
1062    To make curl read cookies from an already existing file, in plain header-
1063    format (like from the headers of a previous fetch) invoke curl with the
1064    -b flag like:
1065
1066         curl -b file http://site/foo.html
1067
1068    Curl will then use all cookies it finds matching. The old style that sets
1069    a single cookie with -b is still supported and is used if the string
1070    following -b includes a '=' letter, as in "-b name=daniel".
1071
1072    To make curl read the cookies sent in combination with a location: (which
1073    sites often do) point curl to read a non-existing file at first (i.e
1074    to start with no existing cookies), like:
1075
1076         curl -b nowhere http://site/setcookieandrelocate.html
1077
1078  - Added a paragraph in the TODO file about the SSL problems recently
1079    reported. Evidently, some kind of SSL-problem curl may need to address.
1080
1081  - Better "Location:" following.
1082
1083  Douglas E. Wegscheid <wegscd@whirlpool.com> (Tue, 30 Mar 1999)
1084  - A subsecond display patch.
1085
1086  Daniel (Mar 14 1999)
1087  - I've separated the version number of libcurl and curl now. To make
1088    things a little easier, I decided to start the curl numbering from
1089    5.6 and the former version number known as "curl" is now the one
1090    set for libcurl.
1091
1092  - Removed the 'enable-no-pass' from configure, I doubt anyone wanted
1093    that.
1094
1095  - Made lots of tiny adjustments to compile smoothly with cygwin under
1096    win32. It's a killer for porting this to win32, bye bye VC++! ;-)
1097    Compiles and builds out-of-the-box now. See the new wordings in
1098    INSTALL for details.
1099
1100  - Beginning experiments with downloading multiple document from a http
1101    server while remaining connected.
1102
1103 Version 5.6beta
1104
1105  Daniel (Mar 13 1999)
1106  - Since I've changed so much, I thought I'd just go ahead and implement
1107    the suggestion from Douglas E. Wegscheid <wegscd@whirlpool.com>. -D or
1108    --dump-header is now storing HTTP headers separately in the specified
1109    file.
1110
1111  - Added new text to INSTALL on what to do to build this on win32 now.
1112
1113  - Aaargh. I had to take a step back and prefix the shared #include files
1114    in the sources with "../include/" to please VC++...
1115
1116  Daniel (Mar 12 1999)
1117  - Split the url.c source into many tiny sources for better readability
1118    and smaller size.
1119
1120  Daniel (Mar 11 1999)
1121  - Started to change stuff for a move to make libcurl and a more separate
1122    curl application that uses the libcurl. Made the libcurl sources into
1123    the new lib directory while the curl application will remain in src as
1124    before. New makefiles, adjusted configure script and so.
1125
1126    libcurl.a built quickly and easily. I better make a better interface to
1127    the lib functions though.
1128
1129    The new root dir include/ is supposed to contain the public information
1130    about the new libcurl. It is a little ugly so far :-)
1131
1132
1133  Daniel (Mar 1 1999)
1134  - Todd Kaufmann <tkaufmann@adforce.com> sent me a good link to Netscape's
1135    cookie spec as well as the info that RFC 2109 specifies how to use them.
1136    The link is now in the README and the RFC in the RESOURCES.
1137
1138  Daniel (Feb 23 1999)
1139  - Finally made configure accept --with-ssl to look for SSL libs and includes
1140    in the "standard" place /usr/local/ssl...
1141
1142  Daniel (Feb 22 1999)
1143  - Verified that curl linked fine with OpenSSL 0.9.1c which seems to be
1144    the most recent.
1145
1146  Henri Gomez <gomez@slib.fr> (Fri Feb  5 1999)
1147  - Sent in an updated curl-ssl.spec. I still miss the script that builds an
1148    RPM automatically...
1149
1150 Version 5.5.1
1151
1152  Mark Butler <butlerm@xmission.com> (27 Jan 1999)
1153  - Corrected problems in Download().
1154
1155  Danitel Stenberg (25 Jan 1999)
1156  - Jeremie Petit <Jeremie.Petit@Digital.com> pointed out a few flaws in the
1157    source that prevented it from compile warning free with the native
1158    compiler under Digital Unix v4.0d.
1159
1160 Version 5.5
1161
1162  Daniel Stenberg (15 Jan 1999)
1163  - Added Bjorns small text to the README about the DICT protocol.
1164
1165  Daniel Stenberg (11 Jan 1999)
1166  - <jswink@softcom.net> reported about the win32-versioin: "Doesn't use
1167    ALL_PROXY environment variable". Turned out to be because of the static-
1168    buffer nature of the win32 environment variable calls!
1169
1170  Bjorn Reese <breese@imada.ou.dk> (10 Jan 1999)
1171  - I have attached a simple addition for the DICT protocol (RFC 2229).
1172    It performs dictionary lookups. The output still needs to be better
1173    formatted.
1174
1175    To test it try (the exact format, and more examples are described in
1176    the RFC)
1177
1178         dict://dict.org/m:hello
1179         dict://dict.org/m:hello::soundex
1180
1181
1182  Vicente Garcia <verot@redestb.es> (10 Jan 1999)
1183  - Corrected the progress meter for files larger than 20MB.
1184
1185  Daniel Stenberg (7 Jan 1999)
1186  - Corrected the -t and -T help texts. They claimed to be FTP only.
1187
1188 Version 5.4
1189
1190  Daniel Stenberg
1191  (7 Jan 1999)
1192  - <Irving_Wolfe@Wolfe.Net> reported that curl -s didn't always supress the
1193    progress reporting. It was the form post that autoamtically always switched
1194    it on again. This is now corrected!
1195
1196  (4 Jan 1999)
1197  - Andreas Kostyrka <andreas@mtg.co.at> suggested I'd add PUT and he helped me
1198    out to test it. If you use -t or -T now on a http or https server, PUT will
1199    be used for file upload.
1200
1201    I removed the former use of -T with HTTP. I doubt anyone ever really used
1202    that.
1203
1204  (4 Jan 1999)
1205  - Erik Jacobsen <erik@mint.com> found a width bug in the mprintf() function.
1206    I corrected it now.
1207
1208  (4 Jan 1999)
1209  - As John V. Chow <johnchow@brooklinetech.com> pointed out to me, curl
1210    accepted very limited URL sizes. It should now accept path parts that are
1211    up to at least 4096 bytes.
1212
1213  - Somehow I screwed up when applying the AIX fix from Gilbert Ramirez, so
1214    I redid that now.
1215
1216 Version 5.3a (win32 only)
1217
1218  Troy Engel
1219  - Corrected a win32 bug in the environment variable part.
1220
1221 Version 5.3
1222
1223  Gilbert Ramirez Jr. (21 Dec 1998)
1224  - I have implemented the "quote" function of FTP clients. It allows you to
1225    send arbitrary commands to the remote FTP server. I chose the -Q/--quote
1226    command-line arguments.
1227
1228    You can have more than one quoted string, and curl will apply them in
1229    order.  This is what I use for my MVS upload:
1230
1231   curl -B --crlf -Q "site lrecl=80" -Q "site blk=8000" -T file ftp://os390/test
1232
1233    Curl will send the two quoted "site" commands in the proper order.
1234
1235  - Made it compile smoothly on AIX.
1236
1237  Gilbert Ramirez Jr. <gram@verdict.uthscsa.edu> (18 Dec 1998)
1238  - Brought an MVS patch: -3/--mvs, for ftp upload to the MVS ftp server.
1239
1240  Troy Engel <tengel@sonic.net> (17 Dec 1998)
1241  - Brought a correction that fixes the win32 curl bug.
1242
1243  Daniel Stenberg
1244  - A bug, pointed out to me by Dr H. T. Leung <htl10@cus.cam.ac.uk>, caused
1245    curl to crash on the -A flag on certain systems. Actually, all systems
1246    should've!
1247
1248  - Added a few defines to make directories/file names get build nicer (with _
1249    instead of . and \ instead of / in win32).
1250
1251  - steve <fisk@polar.bowdoin.edu> reported a weird bug that occured if the
1252    ftp server response line had a parenthesis on the line before the (size)
1253    info. I hope it works better now!
1254
1255 Version 5.2.1
1256
1257  Steven G. Johnson <stevenj@alum.mit.edu> (Dec 14, 1998)
1258  - Brought a fix that corrected a crash in 5.2 due to bad treatment of the
1259    environment variables.
1260
1261 Version 5.2
1262
1263  Daniel Stenberg (Dec 14, 1998)
1264  - Rewrote the mkhelp script and now, the mkhelp.pl script generates the
1265    hugehelp.c file from the README *and* the man page file curl.1. By using
1266    both files, I no longer need to have double information in both the man
1267    page and the README as well. So, win32-users will only have the hugehelp.c
1268    file for all info, but then, they download the plain binary most times
1269    anyway.
1270
1271  - gcc2.8.1 with the -Wall flag complaints a lot on subscript has type `char'
1272    if I don't explicitly typecast the argument to isdigit() or isspace() to
1273    int. So I did to compile warning free with that too.
1274
1275  - Added checks for 'long double' and 'long long' in the configure script. I
1276    need those for the mprintf.c source to compile well on non long long
1277    comforming systems!
1278
1279 Version 5.1 (not publicly released)
1280
1281  Daniel Stenberg (Dec 10, 1998)
1282  - I got a request for a pre-compiled NT Alpha version. Anyone?
1283
1284  - Added Lynx/CERN www lib proxy environment variable support. That means curl
1285    now reads and understands the following environment variables:
1286
1287         HTTP_PROXY, HTTPS_PROXY, FTP_PROXY, GOPHER_PROXY
1288
1289    They should be set for protocol-specific proxies. General proxy should be
1290    set with
1291         
1292         ALL_PROXY
1293
1294    And a comma-separated list of host names that shouldn't go through any
1295    proxy is set in (only an asterisk, '*' matches all hosts).
1296
1297         NO_PROXY
1298
1299    The usage of the -x/--proxy flag overrides the environment variables.
1300
1301  - Proxy can now be specified with a procotol:// prefix.
1302
1303  - Wrote the curl.1 man page.
1304
1305  - Introduced a whole new dynamic buffer system for all sprintf()s. It is
1306    based on the *printf() package by yours truly and Bjorn Reese. Hopefully,
1307    there aren't that many buffer overflow risks left now.
1308
1309  - Ah, I should mention I've compiled and built curl successfully under
1310    solaris 2.6 with gcc now, gcc 2.7.2 won't work but 2.8.1 did ok.
1311
1312  Oren Tirosh <oren@hishome.net> (Dec 3, 1998)
1313  - Brought two .spec files, to use when creating (Linux) Redhat style RPM
1314    packages. They're named curl.spec and curl-ssl.spec.
1315
1316  Troy Engel <tengel@sonic.net>
1317  - Supplied the src/Makefile.vc6 for easy compiling with VC++ under Win32.
1318
1319 Version 5.0
1320
1321  Daniel Stenberg (Dec 1, 1998)
1322  - Not a single bug report in ages.
1323  - Corrected getpass.c and main.c to compile warning and error free with the
1324    Win32 VC++ crap.
1325
1326 Version 5.0 beta 24
1327
1328  Daniel Stenberg (Nov 20, 1998)
1329
1330  HOW TO BUILD A RELEASE ARCHIVE:
1331
1332  * Pre-requisite software:
1333    What              To build what             Reads data from
1334    ====              =============             ===============
1335    GNU automake      Makefile.in, aclocal.m4   configure.in
1336      GNU make(1)      - " -
1337      GNU gcc(1)       - " -
1338    GNU autoconf      configure                 configure.in
1339    GNU autoheader(2) config.h.in               configure.in, acconfig.h
1340
1341  * Make sure all files that should be part of the archive are put in FILES.
1342
1343  * Run './maketgz' and enter version number of the new to become archive.
1344
1345    maketgz does:
1346
1347    - Enters the newly created version number in url.h.
1348    - (If you don't have automake, this script will warn about that, but unless
1349      you have changed the Makefile.am files, that is nothing to care about.)
1350      If you have it, it'll run it.
1351    - If you have autoconf, the configure.in will be edited to get the newly
1352      created version number and autoconf will be run.
1353    - Creates a new directory named curl-<version>. (Actually, it uses the base
1354      name of the current directory up to the first '-'.)
1355    - Copies all files mentioned in FILES to the new directory. Saving
1356      permissions and directory structure.
1357    - Uses tar to create an archive of it all, named curl-<version>.tar.gz
1358    - gzips the archive
1359    - Removes the new directory and all its contents.
1360
1361  * When done, you have an archive stored in your directory named
1362    curl-<version>.tar.gz.
1363
1364    Done!
1365
1366    (1) They're required to make automake run properly.
1367    (2) It is distributed as a part of the GNU autoconf archive.
1368
1369  Daniel Stenberg (Nov 18, 1998)
1370  - I changed the TAG-system. If you ever used urlget() from this package in
1371    another product, you need to recompile with the new headers. I did this
1372    new stuff to better deal with different compilers and system with different
1373    variable sizes. I think it makes it a little more portable. This proves
1374    to compile warning free with the problematic IRIX compiler!
1375  - Win32 compiled with a silly error. Corrected now.
1376  - Brian Chaplin <bchaplin@capital-mkts.com> reported yet another problem in
1377    multiline FTP responses. I've tried to correct it. I mailed him a new
1378    version and I hope he gets back soon with positive feedback!
1379  - Improved the 'maketgz' to create a temporary directory tree which it makes
1380    an archive from instead of the previous renaming of the current one.
1381  - Mailing list opened (see README).
1382  - Made -v more verbose on the PASV section of ftp transfers. Now it tells
1383    host name and IP of the new host (and port number). I also added a section
1384    about PORT vs PASV in the README.
1385
1386 Version 5.0 beta 21
1387
1388  Angus Mackay (Nov 15, 1998)
1389  - Introduced automake stuff.
1390
1391  Daniel Stenberg (Nov 13, 1998)
1392  - Just made a successful GET of a document from an SSL-server using my own
1393    private certificate for authentication! The certificate has to be in PEM
1394    format. You do that the easiest way (although not *that* easy) by
1395    downloading the SSLyeay PKCS#12-patch by Dr Stephen N. Henson from his site
1396    at: http://www.drh-consultancy.demon.co.uk/. Using his tool, you can
1397    convert any modern Netscape or (even) MSIE certificate to PEM-format.  Use
1398    it with 'curl -E <certificate:password> https://site.com'.  If this isn't a
1399    cool feature, then I don't know what cool features look like! ;-)
1400  - Working slowly on telnet connections. #define TRY_TELNET to try it out.
1401    (curl -u user:passwd "telnet://host.com/cat .login" is one example) I do
1402    have problem to define how it should work. The prime purpose for this must
1403    be to get (8bit clean) files via telnet, and it really isn't that easy to
1404    get files this way. Still having problems with \n being converted to \r\n.
1405
1406  Angus Mackay (Nov 12, 1998)
1407  - Corrected another bug in the long parameter name parser.
1408  - Modified getpass.c (NOTE: see the special licensing in the top of that
1409    source file).
1410
1411  Daniel Stenberg (Nov 12, 1998)
1412  - We may have removed the silly warnings from url.c when compiled under IRIX.
1413    Thanks again to Bjorn Reese <breese@imada.ou.dk> and Martin Staael
1414    <martin@netgroup.dk>.
1415  - Wrote formfind.pl which is a new perl script intended to help you find out
1416    how a FORM submission should be done. This needs a little more work to get
1417    really good.
1418
1419  Daniel Stenberg (Nov 11, 1998)
1420  - Made the HTTP header-checker accept white spaces before the HTTP/1.? line.
1421    Appearantly some proxies/sites add such at times (my test proxy did when I
1422    downloaded a gopher page with it)!
1423  - Moved the former -h to -M and made -h show the short help text instead. I
1424    had to enable a forced help text option. Now an even shorter help text will
1425    be presented when an unknown option and similar, is used.
1426  - stdcheaders.h didn't work with IRIX 6.4 native cc compiler. I hope my
1427    changes don't make other versions go nuts instead.
1428
1429  Daniel Stenberg (Nov 10, 1998)
1430  - Added a weird check in the configure script to check for the silly AIX
1431    warnings about my #define strcasecmp() stuff. I do that define to prevent
1432    me and other contributors to accidentaly use that function name instead
1433    of strequal()...
1434  - I bugfixed Angus's getpass.c very little.
1435  - Fixed the verbose flag names to getopt-style, i.e 'curl --loc' will be
1436    sufficient instead of --location as "loc" is a unique prefix. Also, anything
1437    after a '--' is treated as an URL. So if you do have a host with a weeeird
1438    name you can do 'curl -- -host.com'.
1439  - Another getopt-adjust; curl now accepts flags after the URL on the command
1440    line. 'curl www.foo.com -O' is perfectly valid.
1441  - Corrected the .curlrc parser so that strtok() is no longer used and I
1442    believe it works better. Even URLs can be specified in it now.
1443
1444  Angus Mackay (Nov 9, 1998)
1445  - Replaced getpass.c with a newly written one, not under GPL license
1446  - Changed OS to a #define in config.h instead of compiler flag
1447  - Makefile now uses -DHAVE_CONFIG_H
1448
1449  Daniel Stenberg (Nov 9, 1998)
1450  - Ok, I expanded the tgz-target to update the version string on each occation
1451    I build a release archive!
1452  - I reacted on Angus Mackay's initiative and remade the parameter parser to
1453    be more getopt compliant. Curl now supports "merged" flags as in 
1454         curl -lsv ftp.site.com
1455    Do note that I had to move three short-names of the options. Parameters
1456    that needs an additional string such as -x must be stand-alone or the
1457    last in a merged sequence:
1458         curl -lsx my-proxy ftp.site.com
1459    is ok, but using the flags in a different order like '-lxs' would cause
1460    unexpected results (as the 's' option would be skipped).
1461  - I've changed the headers in all files that are subject to the MozPL
1462    license, as they are supposed to look like when conforming.
1463  - Made the configure script make the config.h. The former config.h is now
1464    setup.h.
1465  - The RESOURCES and TODO files have been added to the archive.
1466
1467  Angus Mackay <amackay@gus.ml.org> (Nov 5, 1998)
1468  - Fixed getpass.c and various configure stuff
1469
1470  Daniel Stenberg (Nov 3, 1998)
1471  - Use -H/--header for custom HTTP-headers. Lets you pass on your own
1472    specified headers to the remote server. I wouldn't recommend trying to use
1473    a header with a defined usage according to standards. Use this flag once
1474    for every custom header you want to add.
1475  - Use -B/--ftp-ascii to force ftp to use ASCII mode when transfering files.
1476  - Corrected the 'getlinks.pl' script, I accidentally left my silly proxy
1477    usage in there! Since the introduction of the .curlrc file, it is easier to
1478    write scripts that use curl since proxies and stuff should be in the
1479    .curlrc file anyway.
1480  - Introducing the new -F flag for HTTP POST. It supports multipart/form-data
1481    which means it is gonna be possible to upload files etc through HTTP POST.
1482    Shiraz Kanga <skanga@bigfoot.com> asked for the feature and my brother,
1483    Björn Stenberg <Bjorn.Stenberg@sth.frontec.se> helped me design the user
1484    interface for this beast.  This feature requires quite some docs,
1485    since it has turned out not only quite capable, but also complicated! :-)
1486  - A note here, since I've received mail about it. SSLeay versions prior to
1487    0.8 will *not* work with curl!
1488  - Wil Langford <wil@langford.net> reported a bug that occurred since curl
1489    did not properly use CRLF when issuing ftp commands. I fixed it.
1490  - Rearranged the order config files are read. .curlrc is now *always* read
1491    first and before the command line flags. -K config files then act as
1492    additional config items.
1493  - Use -q AS THE FIRST OPTION specified to prevent .curlrc from being read.
1494  - You can now disable a proxy by using -x "". Useful if the .curlrc file
1495    specifies a proxy and you wanna fetch something without going through
1496    that.
1497  - I'm thinking of dropping the -p support. Its really not useful since ports
1498    could (and should?) be specified as :<port> appended on the host name
1499    instead, both in URLs and to proxy host names.
1500  - Martin Staael <martin@netgroup.dk> reports curl -L bugs under Windows NT
1501    (test with URL http://come.to/scsde). This bug is not present in this
1502    version anymore.
1503  - Added support for the weird FTP URL type= thing. You can download a file
1504    using ASCII transfer by appending ";type=A" to the right of it. Other
1505    available types are type=D for dir-list (NLST) and type=I for binary
1506    transfer. I can't say I've ever seen anyone use this kind of URL though!
1507    :-)
1508  - Troy Engel <tengel@palladium.net> pointed out a bug in my getenv("HOME")
1509    usage for win32 systems. I introduce getenv.c to better cope with
1510    this. Mr Engel helps me with the details around that...
1511  - A little note to myself and others, I should make the win32-binary built
1512    with SSL support...
1513  - r-y-a-n/n-e-l-s-o-n <ryan@inch.com> sent me comments about building curl
1514    with SSL under FreeBSD. See the Makefile for details. Using the configure
1515    script, it should work better and automatically now...
1516  - Cleaned up in the port number mess in the source. No longer stores and uses
1517    proxy port number separate from normal port number.
1518  - 'configure' script working. Confirmed compiles on:
1519     Host         SSL  Compiler
1520     SunOS 5.5    no   gcc
1521     SunOS 5.5.1  yes  gcc
1522     SunOS 5.6    no   cc  (with gcc, it has the "gcc include files" problem)
1523     SunOS 4.1.3  no   gcc (without ANSI C headers)
1524     SunOS 4.1.2  no   gcc (native compiler failed)
1525     Linux 2.0.18 no   gcc
1526     Linux 2.0.32 yes  gcc
1527     Linux 2.0.35 no   gcc (with glibc)
1528     IRIX 6.2     no   gcc (cc compiles generate a few warnings)
1529     IRIX 6.4     no   cc  (generated warnings though)
1530     Win32        no   Borland
1531     OSF4.0       no   ?
1532
1533  - Ooops. The 5beta (and 4.10) under win32 failed if the HOME variable wasn't
1534    set.
1535  - When using a proxy, curl now guesses and uses the protocol part in cases
1536    like:
1537         curl -x proxy:80 www.site.com
1538    Proxies normally go nuts unless http:// is prepended to the host name, so
1539    if curl is used like this, it guesses protocol and appends the protocol
1540    string before passing it to the proxy. It already did this when used
1541    without proxy.
1542  - Better port usage with SSL through proxy now. If you specified a different
1543    https-port when accessing through a proxy, it didn't use that number
1544    correctly. I also rewrote the code that parses the stuff read from the
1545    proxy when you wanna connect through it with SSL.
1546  - Bjorn Reese <breese@imada.ou.dk> helped me work around one of the compiler
1547    warnings on IRIX native cc compiles.
1548
1549 Version 4.10 (Oct 26, 1998)
1550  Daniel Stenberg
1551  - John A. Bristor <jbristor@bellsouth.net> suggested a config file switch,
1552    and since I've been having that idea kind of in the background for a long
1553    time I rewrote the parameter parsing function a little and now I introduce
1554    the -K/--config flag. I also made curl *always* (unless -K is used) try to
1555    load the .curlrc file for command line parameters. The syntax for the
1556    config file is the standard command line argument style. Details in 'curl
1557    -h' or the README.
1558  - I removed the -k option. Keep-alive isn't really anything anyone would
1559    want to enable with curl anyway.
1560  - Martin Staael <Martin@Staael.dk> helped me add the 'irix' target. Now
1561    "make irix" should build curl successfully on non-gcc SGI machines.
1562  - Single switches now toggle behaviours. I.e if you use -v -v the second
1563    will switch off the verbose mode the first one enabled. This is so that
1564    you can disable a default setting a .curlrc file enables etc.
1565
1566 Version 4.9 (Oct 7, 1998)
1567  Daniel Stenberg
1568  - Martin Staael <Martin@Staael.dk> suggested curl would support cookies.
1569    I added -b/--cookie to enable free-text cookie data to be passed. There's
1570    also a little blurb about general cookie stuff in the README/help text.
1571  - dmh <dmh@jet.es> suggested HTTP resume capabilities. Although you could
1572    manually get curl to resume HTTP documents, I made the -c resume flag work
1573    for HTTP too (unless -r is used too, which would be very odd anyway).
1574  - Added checklinks.pl to the archive. It is a still experimental perl script
1575    that checks all links of a web page by using curl.
1576  - Rearranged the archive hierarchy a little. Build the executable in the
1577    src/ dir from now on!
1578  - Version 4.9 and hereafter, is no longer released under the GPL license.
1579    I have now updated the LEGAL file etc and now this is released using the
1580    Mozilla Public License to avoid the plague known as "the GPL virus". You
1581    must make the source available if you decide to change and/or redistribute
1582    curl, but if you decide to use curl within something else you do not need
1583    to offer the world the source to that too.
1584  - Curl did not like HTTP servers that sent no headers at all on a GET
1585    request.  It is a violation of RFC2068 but appearantly some servers do
1586    that anyway.  Thanks to Gordon Beaton <gordon@erix.ericsson.se> for the
1587    report!
1588  - -L/--location was added after a suggestion from Martin Staael
1589    <Martin@Staael.dk>. This makes curl ATTEMPT to follow the Location:
1590    redirect if one is present in the HTTP headers. If -i or -I is used with
1591    this flag, you will see headers from all sites the Location: points to. Do
1592    note that the first server can point to a second that points to a third
1593    etc. It seems the Location: parameter (said to be an AbsoluteURI in
1594    RFC2068) isn't always absolute.. :-/ Anyway, I've made curl ATTEMPT to do
1595    the best it can to deal with the reality.
1596  - Added getlinks.pl to the archive. getlinks.pl selectively downloads
1597    files that a web page links to.
1598
1599 Version 4.8.4
1600  Daniel Stenberg
1601  - As Julian Romero Nieto <jromero@anaya.es> reported, curl reported wrong
1602    version number.
1603  - As Teemu Yli-Elsila <tylielsi@mail.student.oulu.fi> pointed out,
1604    the win32 version of 4.8 (and probably all other versions for win32)
1605    didn't work with binary files since I'm too used to the UNIX style
1606    fopen() where binary and text don't differ...
1607  - Ralph Beckmann <rabe@uni-paderborn.de> brought me some changes that lets
1608    curl compile error and warning free with -Wall -pedantic with
1609    g++. I also took the opportunity to clean off some unused variables
1610    and similar.
1611  - Ralph Beckmann <rabe@uni-paderborn.de> made me aware of a really odd bug
1612    now corrected. When curl read a set of headers from a HTTP server, divided
1613    into more than one read and the first read showed a full line *exactly*
1614    (i.e ending with a newline), curl did not behave well.
1615
1616 Version 4.8.3
1617  Daniel Stenberg
1618  - I was too quick to release 4.8.2 with too little testing. One of the
1619    changes is now reverted slightly to the 4.8.1 way since 4.8.2 couldn't
1620    upload files. I still think both problems corrected in 4.8.2 remain
1621    corrected.  Reported by Julian Romero Nieto <jromero@anaya.es>.
1622
1623 Version 4.8.2
1624  Daniel Stenberg
1625  - Bernhard Iselborn <biselbor@rhrk.uni-kl.de> reported two FTP protocol
1626    errors curl did. They're now corrected. Both appeared when getting files
1627    from a MS FTP server! :-)
1628
1629 Version 4.8.1
1630  Daniel Stenberg
1631  - Added a last update of the progress meter when the transfer is done. The
1632    final output on the screen didn't have to be the final size transfered
1633    which made it sometimes look odd.
1634  - Thanks to David Long <long@research.bell-labs.com> I got rid of a silly
1635    bug that happened if a HTTP-page had nothing but header. Appearantly
1636    Solaris deals with negative sizes in fwrite() calls a lot better than
1637    Linux does... =B-]
1638
1639 Version 4.8
1640  Daniel Stenberg
1641  - Continue FTP file transfer. -c is the switch. Note that you need to
1642    specify a file name if you wanna resume a download (you can't resume a
1643    download sent to stdout). Resuming upload may be limited by the server
1644    since curl is then using the non-RFC959 command SIZE to get the size of
1645    the target file before upload begins (to figure out which offset to
1646    use). Use -C to specify the offset yourself! -C is handy if you're doing
1647    the output to something else but a plain file or when you just want to get
1648    the end of a file.
1649  - recursiveftpget.pl now features a maximum recursive level argument.
1650
1651 Version 4.7
1652  Daniel Stenberg
1653  - Added support to abort a download if the speed is below a certain amount
1654    (speed-limit) bytes per second for a certain (speed-time) time.
1655  - Wrote a perl script 'recursiveftpget.pl' to recursively use curl to get a
1656    whole ftp directory tree. It is meant as an example of how curl can be
1657    used.  I agree it isn't the wisest thing to do to make a separate new
1658    connection for each file and directory for this.
1659
1660 Version 4.6
1661  Daniel Stenberg
1662  - Added a first attempt to optionally parse the .netrc file for login user
1663    and password. If used with http, it enables user authentication. -n is
1664    the new switch.
1665  - Removed the extra newlines on the default user-agent string.
1666  - Corrected the missing ftp upload error messages when it failed without the
1667    verbose flag set. Gary W. Swearingen found it.
1668  - Now using alarm() to enable second-precision timeout even on the name
1669    resolving/connecting phase. The timeout is although reset after that first
1670    sequence. (This should be corrected.) Gary W. Swearingen <swear@aa.net>
1671    reported.
1672  - Now spells "Unknown" properly, as in "Unknown option 'z'"... :-)
1673  - Added bug report email address in the README.
1674  - Added a "current speed" field to the progress meter. It shows the average
1675    speed the last 5 seconds. The other speed field shows the average speed of
1676    the entire transfer so far.
1677
1678 Version 4.5.1
1679  Linas Vepstas
1680  - SSL through proxy fix
1681  - Added -A to allow User-Agent: changes
1682
1683  Daniel Stenberg 
1684  - Made the -A work when SSL-through-proxy.
1685
1686 Version 4.5
1687  Linas Vepstas <linas@linas.org>
1688  - More SSL corrections
1689  - I've added a port to AIX.
1690  - running SSL through a proxy causes a chunk of code to be executred twice.
1691    one of those blocks needs to be deleted.
1692
1693  Daniel Stenberg
1694  - Made -i and -I work again
1695
1696 Version 4.4
1697  Linas Vepstas <linas@us.ibm.com>
1698  - -x can now also specify proxyport when used as in 'proxyhost:proxyport'
1699  - SSL fixes
1700
1701 Version 4.3
1702  Daniel Stenberg
1703  - Adjusted to compile under win32 (VisualC++ 5). The -P switch does not
1704    support network interface names in win32. I couldn't figure out how!
1705
1706 Version 4.2
1707  Linas Vepstas / Sampo Kellomaki
1708  - Added SSL / SSLeay support (https://)
1709  - Added the -T usage for HTTP POST.
1710
1711  Daniel Stenberg
1712  - Bugfixed the SSL implementation.
1713  - Made -P a lot better to use other IP addresses. It now accepts a following
1714    parameter that can be either
1715         interface - i.e "eth0" to specify which interface's IP address you
1716                     want to use
1717         IP address - i.e "192.168.10.1" to specify exact IP number
1718         host name - i.e "my.host.domain" to specify machine
1719         "-"       - (any single-letter string) to make it pick the machine's
1720                     default
1721  - The Makefile is now ready to compile for solaris, sunos4 and linux right
1722    out of the box.
1723  - Better generated version string seen with 'curl -V'
1724
1725 Version 4.1
1726  Daniel Stenberg
1727  - The IP number returned by the ftp server as a reply to PASV does no longer
1728    have to DNS resolve. In fact, no IP-number-only addresses have to anymore.
1729  - Binds better to available port when -P is used.
1730  - Now LISTs ./ instead of / when used as in ftp://ftp.funet.fi/. The reason
1731    for this is that exactly that site, ftp.funet.fi, does not allow LIST /
1732    while LIST ./ is fine. Any objections?
1733
1734 Version 4 (1998-03-20)
1735  Daniel Stenberg
1736  - I took another huge step and changed both version number and project name!
1737    The reason for the new name is that there are just one too many programs
1738    named urlget already and this program already can a lot more than merely
1739    getting URLs, and the reason for the version number is that I did add the
1740    pretty big change in -P and since I changed name I wanted to start with
1741    something fresh!
1742  - The --style flags are working better now.
1743  - Listing directories with FTP often reported that the file transfer was
1744    incomplete. Wrong assumptions were too common for directories, why no
1745    size will be attempted to get compared on them from now on.
1746  - Implemented the -P flag that let's the ftp control issue a PORT command
1747    instead of the standard PASV.
1748  - -a for appending FTP uploads works.
1749
1750 ***************************************************************************
1751
1752 Version 3.12
1753  Daniel Stenberg
1754  - End-of-header tracking still lacked support for \r\n or just \n at the
1755    end of the last header line.
1756  Sergio Barresi <sbarresi@imispa.it>
1757  - Added PROXY authentication.
1758  Rafael Sagula
1759  - Fixed some little bugs.
1760
1761 Version 3.11
1762  Daniel Stenberg
1763  - The header parsing was still not correct since the 3.2 modification...
1764
1765 Version 3.10
1766  Daniel Stenberg
1767  - 3.7 and 3.9 were simultaneously developed and merged into this version.
1768  - FTP upload did not work correctly since 3.2.
1769
1770 Version 3.9
1771  Rafael Sagula
1772  - Added the "-e <url> / --referer <url>" option where we can specify
1773    the referer page. Obviously, this is necessary only to fool the
1774    server, but...
1775
1776 Version 3.7
1777  Daniel Stenberg
1778  - Now checks the last error code sent from the ftp server after a file has
1779    been received or uploaded. Wasn't done previously.
1780  - When 'urlget <host>' is used without a 'protocol://' first in the host part,
1781    it now checks for host names starting with ftp or gopher and if it does,
1782    it uses that protocol by default instead of http.
1783
1784 Version 3.6
1785  Daniel Stenberg
1786  - Silly mistake made the POST bug. This has now also been tested to work with
1787    proxy.
1788
1789 Version 3.5
1790  Daniel Stenberg
1791  - Highly inspired by Rafael Sagula's changes to the 3.1 that added an almost
1792    functional POST, I applied his changes into this version and made them work.
1793    (It seems POST requires the Content-Type and Content-Length headers.) It is
1794    now usable with the -d switch.
1795
1796 Version 3.3 - 3.4
1797  Passed to avoid confusions
1798
1799 Version 3.2
1800  Daniel Stenberg
1801  - Major rewrite of two crucial parts of this code: upload and download.
1802    They are both now using a select() switch, that allows much better
1803    progress meter and time control. 
1804  - alarm() usage removed completely
1805  - FTP get can now list directory contents if the path ends with a slash '/'.
1806    Urlget on a ftp-path that doesn't end with a slash means urlget will
1807    attempt getting it as a file name.
1808  - FTP directory view supports -l for "list-only" which lists the file names
1809    only.
1810  - All operations support -m for max time usage in seconds allowed.
1811  - FTP upload now allows the size of the uploaded file to be provided, and
1812    thus it can better check it actually uploaded the whole file. It also
1813    makes the progress meter for uploads much better!
1814  - Made the parameter parsing fail in cases like 'urlget -r 900' which
1815    previously tried to connect to the host named '900'.
1816
1817 Version 3.1
1818  Kjell Ericson
1819  - Pointed out how to correct the 3 warnings in win32-compiles.
1820
1821  Daniel Stenberg
1822  - Removed all calls to exit().
1823  - Made the short help text get written to stdout instead of stderr.
1824  - Made this file instead of keeping these comments in the source.
1825  - Made two callback hooks, that enable external programs to use urlget()
1826    easier and to grab the output/offer the input easier.
1827  - It is evident that Win32-compiles are painful. I watched the output from
1828    the Borland C++ v5 and it was awful. Just ignore all those warnings.
1829
1830 Version 3.0
1831  Daniel Stenberg
1832  - Added FTP upload capabilities. The name urlget gets a bit silly now
1833    when we can put too... =)
1834  - Restructured the source quite a lot.
1835    Changed the urlget() interface. This way, we will survive changes much
1836    better. New features can come and old can be removed without us needing
1837    to change the interface. I've written a small explanation in urlget.h
1838    that explains it.
1839  - New flags include -t, -T, -O and -h. The -h text is generated by the new
1840    mkhelp script.
1841
1842 Version 2.9
1843  Remco van Hooff
1844  - Added a fix to make it compile smoothly on Amiga using the SAS/C
1845    compiler.
1846   
1847  Daniel Stenberg
1848  - Believe it or not, but the STUPID Novell web server seems to require
1849    that the Host: keyword is used, so well I use it and I (re-introduce) the
1850    urlget User-Agent:. I still have to check that this Host: usage works with
1851    proxies... 'Host:' is required for HTTP/1.1 GET according to RFC2068.
1852
1853 Version 2.8
1854  Rafael Sagula
1855  - some little modifications
1856
1857 Version 2.7
1858  Daniel Stenberg
1859  - Removed the -l option and introduced the -f option instead. Now I'll
1860    rewrite the former -l kludge in an external script that'll use urlget to
1861    fetch multipart files like that.
1862  - '-f' is introduced, it means Fail without output in case of HTTP server
1863    errors (return code >=300).
1864  - Added support for -r, ranges. Specify which part of a document you 
1865    want, and only that part is returned. Only with HTTP/1.1-servers.
1866  - Split up the source in 3 parts. Now all pure URL functions are in
1867    urlget.c and stuff that deals with the stand-alone program is in main.c.
1868  - I took a few minutes and wrote an embryo of a README file to explain
1869    a few things.
1870
1871 Version 2.6
1872  Daniel Stenberg
1873  - Made the -l (loop) thing use the new CONF_FAILONERROR which makes
1874    urlget() return error code if non-successful. It also won't output anything
1875    then. Now finally removed the HTTP 1.0 and error 404 dependencies.
1876  - Added -I which uses the HEAD request to get the header only from a
1877    http-server.
1878
1879 Version 2.5
1880  Rafael Sagula
1881  - Made the progress meter use HHH:MM:SS instead of only seconds.
1882
1883 Version 2.4
1884  Daniel Stenberg
1885  - Added progress meter. It appears when downloading > BUFFER SIZE and
1886    mute is not selected. I found out that when downloading large files from
1887    really really slow sites, it is desirable to know the status of the
1888    download. Do note that some downloads are done unawaring of the size, which
1889    makes the progress meter less thrilling ;) If the output is sent to a tty,
1890    the progress meter is shut off.
1891  - Increased buffer size used for reading.
1892  - Added length checks in the user+passwd parsing.
1893  - Made it grok user+passwd for HTTP fetches. The trick is to base64
1894    encode the user+passwd and send an extra header line. Read chapter 11.1 in
1895    RFC2068 for details. I added it to be used just like the ftp one.  To get a
1896    http document from a place that requires user and password, use an URL
1897    like:
1898
1899         http://user:passwd@www.site.to.leach/doc.html
1900
1901    I also added the -u flag, since WHEN USING A PROXY YOU CAN'T SPECIFY THE
1902    USER AND PASSWORD WITH HTTP LIKE THAT. The -u flag works for ftp too, but
1903    not if used with proxy. To do the same as the above one, you can invoke:
1904
1905         urlget -u user:passwd http://www.site.to.leach/doc.html
1906
1907 Version 2.3
1908  Rafael Sagula
1909  - Added "-o" option (output file)
1910  - Added URG_HTTP_NOT_FOUND return code.
1911    (Daniel's note:)
1912    Perhaps we should detect all kinds of errors and instead of writing that
1913    custom string for the particular 404-error, use the error text we actually
1914    get from the server. See further details in RFC2068 (HTTP 1.1
1915    definition). The current way also relies on a HTTP/1.0 reply, which newer
1916    servers might not do.
1917  - Looping mode ("-l" option). It's easier to get various split files.
1918    (Daniel's note:)
1919    Use it like 'urlget -l 1 http://from.this.site/file%d.html', which will
1920    make urlget to attempt to fetch all files named file1.html, file2.html etc
1921    until no more files are found. This is only a modification of the
1922    STAND_ALONE part, nothing in the urlget() function was modfified for this.
1923  Daniel Stenberg
1924  - Changed the -h to be -i instead. -h should be preserved to help use.
1925  - Bjorn Reese indicated that Borland _might_ use '_WIN32' instead of the
1926    VC++ WIN32 define and therefore I added a little fix for that.
1927
1928 Version 2.2
1929  Johan Andersson
1930  - The urlget function didn't set the path to url when using proxy.
1931  - Fixed bug with IMC proxy. Now using (almost) complete GET command.
1932   
1933  Daniel Stenberg
1934  - Made it compile on Solaris. Had to reorganize the includes a bit.
1935    (so Win32, Linux, SunOS 4 and Solaris 2 compile fine.)
1936  - Made Johan's keepalive keyword optional with the -k flag (since it
1937    makes a lot of urlgets take a lot longer time).
1938  - Made a '-h' switch in case you want the HTTP-header in the output.
1939
1940 Version 2.1
1941  Daniel Stenberg and Kjell Ericson
1942  - Win32-compilable
1943  - No more global variables
1944  - Mute option (no output at all to stderr)
1945  - Full range of return codes from urlget(), which is now written to be a
1946    function for easy-to-use in [other] programs.
1947  - Define STAND_ALONE to compile the stand alone urlget program
1948  - Now compiles with gcc options -ansi -Wall -pedantic ;)
1949
1950 Version 2.0
1951  - Introducing ftp GET support. The FTP URL type is recognized and used.
1952  - Renamed the project to 'urlget'.
1953  - Supports the user+passwd in the FTP URL (otherwise it tries anonymous
1954    login with a weird email address as password).
1955
1956 Version 1.5
1957  Daniel Stenberg
1958  - The skip_header() crap messed it up big-time. By simply removing that
1959    one we can all of a sudden download anything ;)
1960  - No longer requires a trailing slash on the URLs.
1961  - If the given URL isn't prefixed with 'http://', HTTP is assumed and
1962    given a try!
1963  - 'void main()' is history.
1964
1965 Version 1.4
1966  Daniel Stenberg
1967  - The gopher source used the ppath variable instead of path which could
1968    lead to disaster.
1969
1970 Version 1.3
1971  Daniel Stenberg
1972  - Well, I added a lame text about the time it took to get the data. I also
1973    fought against Johan to prevent his -f option (to specify a file name
1974    that should be written instead of stdout)! =)
1975  - Made it write 'connection refused' for that particular connect()
1976    problem.
1977  - Renumbered the version. Let's not make silly 1.0.X versions, this is
1978    a plain 1.3 instead.
1979
1980 Version 1.2
1981  Johan Andersson
1982  - Discovered and fixed the problem with getting binary files. puts() is
1983    now replaced with fwrite(). (Daniel's note: this also fixed the buffer
1984    overwrite problem I found in the previous version.)
1985
1986  Rafael Sagula <sagula@inf.ufrgs.br>
1987  - Let "-p" before "-x".
1988
1989  Daniel Stenberg <Daniel.Stenberg@sth.frontec.se>
1990  - Bugfixed the proxy usage. It should *NOT* use nor strip the port number
1991    from the URL but simply pass that information to the proxy. This also
1992    made the user/password fields possible to use in proxy [ftp-] URLs.
1993    (like in ftp://user:password@ftp.my.site:8021/README)
1994
1995  Johan Andersson <johan@homemail.com>
1996  - Implemented HTTP proxy support.
1997  - Receive byte counter added.
1998
1999  Bjorn Reese <breese@imada.ou.dk>
2000  - Implemented URLs (and skipped the old syntax).
2001  - Output is written to stdout, so to achieve the above example, do:
2002    httpget http://143.54.10.6/info_logo.gif > test.gif
2003
2004 Version 1.1
2005  Daniel Stenberg <Daniel.Stenberg@sth.frontec.se>
2006  - Adjusted it slightly to accept named hosts on the command line. We
2007    wouldn't wanna use IP numbers for the rest of our lifes, would we?
2008
2009 Version 1.0
2010   Rafael Sagula <sagula@inf.ufrgs.br>
2011   - Wrote the initial httpget, which started all this!