general autoconf and automake fixes
[platform/upstream/curl.git] / CHANGES
1                                   _   _ ____  _     
2                               ___| | | |  _ \| |    
3                              / __| | | | |_) | |    
4                             | (__| |_| |  _ <| |___ 
5                              \___|\___/|_| \_\_____|
6
7                                History of Changes
8
9 Daniel (22 May 2001)
10 - Installed and made use of the following tool versions:
11     autoconf 2.50
12     libtool 1.4
13     automake 1.4-p1
14
15   I wouldn't recommend any developer to try to generate things with older
16   versions than these. Building from CVS will probably more or less require
17   at least these versions.
18
19   As a result of this, the configure script grew to more than double its
20   previous size!
21
22 Daniel (21 May 2001)
23 - I made ftps:// work. Added test case 400 to the release archive, as the
24   first ftps:// test case. Requires stunnel.
25
26 - Also made the test cases that runs ssl tests not run if libcurl isn't built
27   with ssl support.
28
29 Daniel (19 May 2001)
30 - Made the configure not add any extra -L LDFLAGS or -I CPPFLAGS unless they
31   are actually needed. Albert Chin's and Domenico Andreoli's suggestions
32   helped out.
33
34 Version 7.7.4-pre2
35
36 Daniel (18 May 2001)
37 - Nicer configure-check for the OpenSSL headers, which then sets the proper
38   variable to have curl-config be good. (Albert Chin provided the fix)
39
40 - For systems that don't have theiw own 'strlcat()' libcurl provides its own.
41   It was now renamed to prevent collides with other libs. (After discussions
42   with Sterling Hughes and the implications this had on PHP builds.)
43
44 Daniel (17 May 2001)
45 - Colm Buckley posted a detailed bug report on (the debianized) 7.7.3, that
46   turned out to be a problem with the debian-built 7.7.3-package that
47   contained files from the 7.7.2 release!
48
49 - I added the CURLE_ALREADY_COMPLETE again, but with a fake value, just to
50   make programs that use it, not fail when compiling against this version of
51   libcurl.
52
53 Daniel (14 May 2001)
54 - Pawel A. Gajda fixed a problem with resumed transfers on re-used persistent
55   connections.
56
57 Version 7.7.4-pre1
58
59 Daniel (14 May 2001)
60 - Jun-ichiro itojun Hagino fixed FTP PORT for IPv6-enabled libcurl.
61
62 - Added the first HTTPS test to the test suite in the release archive.
63
64 Daniel (12 May 2001)
65 - Jukka Pihl suggested that if (lib)curl is told to verify the peer's
66   certificate and the peer can't be verified, it should fail and return a
67   proper error code. I added a brand new error code named
68   CURLE_SSL_PEER_CERTIFICATE for this purpose.
69
70 Daniel (11 May 2001)
71 - As was discussed with Frederic Lepied a while ago, I now made libcurl not
72   return error even though no data was transfered on upload/download resume
73   when the no transfer is needed. The CURLE_ALREADY_COMPLETE error was removed
74   from the header file to make any implemenator that uses that to be aware of
75   the fact that it can't be returned anymore!
76
77 - Improved general header-parsing to better allow white spaces and more.
78
79 - Rodney Simmons proved the fix I did yesterday was bad and I had to post
80   another one.
81
82 - Ingo Wilken patched away two redirect problems more!
83   
84 Daniel (10 May 2001)
85 - Cris Bailiff correctly noted that the space-after-header problem with
86   Location: is present on several other places in the libcurl sources.
87
88 - Ingo Wilken patched away a problem libcurl had when following Location:
89   headers with an extra space after the colon.
90
91 - Rodney Simmons found out that multiple FTP transfers did not treat relative
92   directories correctly.
93
94 Daniel (9 May 2001)
95 - Getting an FTP file with CURLOPT_NOBODY set (or -I from the command line),
96   makes curl use the non-standard ftp command "SIZE". If it failed, libcurl
97   returned error. Starting now, it just don't output the file size instead.
98   Anonymous bug report.
99
100 - stunnel.pm was accidentally left out from the release archive, it is now
101   added (stunnel is needed to run the https-tests in the test suite)
102   
103 Daniel (7 May 2001)
104 - Corrected two minor compiler warnings due to the FILE * to void * conversion
105   that I missed at two places. Jörn Hartroth brought me patches. Sander Gates
106   filed a bug report on this.
107
108 Version 7.7.3
109
110 Daniel (4 May 2001)
111 - All callback functions now take 'void *' instead of 'FILE *'. This is made
112   this way to make it more obvious to people that anything can be passed to
113   them (by using the apropriate option). After discussions with Sterling
114   Hughes.
115
116 Daniel (3 May 2001)
117 - Cris Bailiff fixed a chunked transfer encoding problem with persistent
118   connection that made libcurl fail if the persistent connection used mixed
119   chunked and non-chunked transfers.
120
121 - Cris Bailiff fixed a bad treatment of 304-replies, as they would not be
122   treated as content-length 0 replies but would cause a "hang" until the
123   server timed-out and closed the connection.
124
125 - Brad Burdick found a minor problem in the docs/examples/Makefile.am
126
127 Daniel (27 April 2001)
128 - Updated the INTERALS document again. It was lagging a bit. I think I made it
129   more easy to follow now as well.
130
131 - Brad Burdick found a problem with persistent connections when curl received
132   a "Content-Length: 0" header.
133
134 - Giuseppe D'Ambrosio was first out to report that TELNET doesn't work in curl
135   compiled/built on win32. It seems to work for unixes though!
136
137 - Dave Hamilton reported weird problems with CURL/PHP that I really can't
138   explain at the moment. I'm hoping on some help from the PHP crew.
139
140 Daniel (26 April 2001)
141 - I rewrote the FTP command response function. I had to do it to make ftps
142   work, as the OpenSSL read()-function didn't work the same way the normal
143   unix read() does, but it was also a huge performance boost. Previously the
144   function read one byte at a time, now it reads very large chunks, and it
145   makes a notable speed difference.
146
147 Daniel (25 April 2001)
148 - Connection re-use when not using a proxy didn't work properly for
149   non-default port numbers.
150
151 Daniel (24 April 2001)
152 - I've noticed that FTPS doesn't work. We attempt to use ssl even for the
153   data transfer, which causes the transfer to 'hang'... We need to fix this.
154
155 - Improved the test suite to use 'stunnel' to do HTTPS and FTPS testing on
156   the alredy written perl servers easily.
157
158 Daniel (23 April 2001)
159 - The OpenSSL version string recently modified didn't zero terminate one
160   of the generated strings properly, which could lead to a crash or simply
161   weird version string output!
162
163 Version 7.7.2
164
165 Daniel (22 April 2001)
166 - Rosimildo da Silva updated the Makefiles for Borland/Windows.
167
168 - Eric Rautman pointed out a problem with persistent connections that would
169   lead to broken Host: headers in the second HTTP request.
170
171 Daniel (20 April 2001)
172 - Added man pages for the curl_strequal() and curl_mprintf() families. Wrote
173   a 'libcurl overview' man page.
174
175 - Spell-fixed some documents.
176
177 - S. Moonesamy corrected mistakes in the man page.
178
179 - Cris Bailiff fixed the curl_slists options in the perl interface, present
180   separately in the Curl::easy 1.1.4 package.
181
182 Daniel (19 April 2001)
183 - Linus Nielsen Feltzing removed the decimals from the size variables in the
184   --write-out output. We hardly ever get fraction of bytes! :-)
185
186 Version 7.7.2-pre1
187
188 Daniel (19 April 2001)
189
190 - Albert Chin provided a configure patch for the AC_SYS_LARGEFILE macro.
191
192 Daniel (18 April 2001)
193 - Input from Michael Mealling made me add --feature to curl-config. It
194   displays a list of features that have been built-in in the current
195   libcurl. The currently available features that can be listed are: SSL, KRB4
196   and IPv6.
197
198 - I committed Cris and Georg's perl interface work. They've got callbacks
199   working and options that receives those slist pointers.
200
201 - Puneet Pawaia detected a problem with resumed downloads that use persistent
202   connections and I made a rather large writeup to correct this. It is
203   important that all session-data is stored in the connectdata struct and not
204   in the main struct as this previously did.
205
206 Daniel (17 April 2001)
207 - Frederic Lepied fixed a ftp resumed download problem and introduced a new
208   error code that lets applications be able to detect when a resumed download
209   actually didn't download anything since the whole file is already present.
210   Should this return OK instead?
211
212 - I added 'curl-config.in' to the root dir and configure script. Now, a
213   curl-config script is made when curl is built. The script can be used to
214   figure out compile time options used when libcurl was built, which in turn
215   should be options YOU should use to build applications that use libcurl.
216
217   This *-config style is not a new idea, but something that has been used
218   successfully in other (library based) projects.
219
220 - Phil Karn pointed out that libcurl wrongly did not always use GMT time zone
221   for the If-Modified-Since style headers.
222
223 - Georg Schwarz pointed out an extra needed #include file needed in src/main.c
224   for curl to build on Ultrix.
225
226 Daniel (11 April 2001)
227 - Cris Bailiff pointed out two problems that I corrected. First, libcurl's use
228   of the environment variable HTTP_PROXY in uppercase may become a security
229   hazard when people use libcurl in a server/cgi situation where the server
230   sets the HTTP_*-variables according to incoming headers in the HTTP
231   request. Thus, a "Proxy:"-header would set that environment variable!
232
233   Then, invoking curl_easy_perform() without having an URL set caused a crash.
234
235 - S. Moonesamy brought a patch that make curl use non-blocking connects on
236   windows when connection timeout is set, as it allows windows users to set
237   that timeout!
238
239 - Hirotaka Matsuyuki wrote a Ruby interface to libcurl!
240
241 - Cris Bailiff, Forrest Cahoon and Georg Horn work on the Perl interface.
242
243 - I've written a first shot at a Java interface to libcurl. Many thanks to
244   Daniel Marell for tirelessly answering to all my basic Java questions. It
245   works, but it is still very basic.
246
247 Daniel (10 April 2001)
248 - The progress display could get silly when doing multiple file transfers, as
249   it wasn't properly reset between transfers!
250
251 - Discussions with Cris Bailiff who writes a Perl interface to libcurl, made
252   me add CURLOPT_HEADERFUNCTION. It can be used to set a separate callback
253   function for writing headers. Previously you could only set a different FILE
254   * when headers are written from within libcurl.
255
256 Daniel (7 April 2001)
257 - Andrés García fixed a problem in curl_escape() and pointed out a flaw in
258   the curl_easy_setopt man page.
259
260 Daniel (6 April 2001)
261 - Adjusted the version code to properly display OpenSSL 0.9.6a. They sure
262   change their version define format often...
263
264 - curl_formfree() now accepts a NULL pointer without crashing!
265
266 Version 7.7.1
267
268 Daniel (3 April 2001)
269 - Puneet Pawaia pointed out two serious problems. Libcurl would attempt to
270   read bad memory during situations when an (ftp) connection attempt failed.
271   Also, the lib/Makefile.vc6 was corrected.
272
273 - More investigations in the Location: following code made me realize that
274   it was not clean enough to work transparantly with persistent and non-
275   persistent connections. I think I've fixed it now.
276
277 Daniel (29 March 2001)
278 - Georg Horn mailed me some corrections for the Curl::easy perl interface.
279
280 - Experimental ftps:// support added. It is basically FTP over SSL for the
281   control connection. It still makes all data transfers going over unencrypted
282   connections. Rainer Weikusat's ftpd-ssl server hack supports this and I used
283   that to verify the functionality.
284
285 Daniel (27 March 2001)
286 - Guenole Bescon discovered that if you set a CURLOPT_TIMEOUT and then tried
287   to get a file from a site and it fails, the SIGALRM would still be sent
288   after the timeout-time, quite inexpectedly!
289
290 - I added an ftp transfer example to docs/examples/ and I also wrote a tiny
291   example makefile that can be used as a start when building one of the
292   examples.
293
294 Version 7.7.1-beta1
295
296 Daniel (26 March 2001)
297 - Mohamed Lrhazi reported problems with 7.6.1 and persistent HTTP/1.0
298   connections (when the server replied a Connection: Keep-Alive) and this
299   problem was not properly dealt with in 7.7 either. A patch was posted to the
300   curl-and-php mailing list.
301
302 Daniel (24 March 2001)
303 - Colin Watson reported about a problem and brought a patch that corrected it,
304   which was about the man page and lines starting with a single quote (') in a
305   way that gnroff doesn't like.
306
307 Daniel (23 March 2001)
308 - Peter Bray reported correctly that the root makefile used make instead of
309   $(MAKE) for the test target.
310
311 - Corrected the Curl::easy perl interface to use curl_easy_setopt() and not
312   curl_setopt() which was removed in 7.7!
313
314 - S. Moonesamy provided updates on three documents (MANUAL, INSTALL and FAQ).
315
316 - When following a Location:, libcurl would sometimes write to the URL string
317   in a way it shouldn't. As the pointer is passed-in to libcurl from an
318   application, we can't be allowed to write to it. The particular bug report
319   from 'nk' that brought this up was because he had a read-only URL that then
320   caused a libcurl crash!
321
322 - No longer reads HEAD responses longer than to the last header. Previously,
323   curl would read the full reply if the connection was a "close" one.
324
325 - libcurl did re-use connections way too much. Doing "curl
326   http://www.{microsoft,ibm}.com" would make it re-use the connection which
327   made the second request return very odd results.
328
329 Daniel (22 March 2001)
330 - Edin Kadribasic made me aware that curl should not re-send POST requests
331   when following 302-redirects. I made 302 work like 303 which means curl uses
332   GET in the following request(s).
333
334 - libcurl now reset the "followed-location" counter on each invoke of
335   curl_easy_perform() as it otherwise would sum up all redirects on the same
336   connection and thus could reach the maxredirs counter wrongly.
337
338 - Jim Drash suggested curl_escape() should not re-encode what already looks
339   like an encoded sequence and I think that's a fair suggestion.
340
341 Version 7.7
342
343 Daniel (22 March 2001)
344 - The configure script now fails with an error message if gethostbyname_r() is
345   detected but it couldn't figure out how to invoke it (what amount of
346   arguments it is supposed to get). Reports from Andrés García made me aware
347   of this need.
348
349 - Talking with Jim Drash made me finally put the curl_escape and curl_unescape
350   functions in the curl.h include file and write man pages for them. The
351   escape function was modified to use the same interface as the unescape one
352   had.
353
354 - No bug reports at all on the latest betas. Release time coming up.
355
356 Version 7.7-beta5
357
358 Daniel (19 March 2001)
359 - Georg Ottinger reported problems with using -C together with -L in the sense
360   that the -C info got lost when it was redirected. I could not repeat this
361   problem on the 7.7 branch why I leave this for the moment. Test case 39 was
362   added to do exactly this, and it seems to do right.
363
364 - Christian Robottom Reis reported how his 7.7 beta didn't successfully do
365   form posts as elegantly as 7.6.1 did. Indeed, this was a flaw in the header
366   engine, as HTTP 1.1 has introduced a new 100 "transient" return code for PUT
367   and POST operations that I need to add support for. Section 8.2.3 in RFC2616
368   has all the details. Seems to work now!
369
370 Daniel (16 March 2001)
371 - After having experienced another machine break-down, we're back.
372
373 - Georg Horn's perl interface Curl::easy is now included in the curl release
374   archive. The perl/ directory is now present. Please help me with docs,
375   examples and updates you think fit.
376
377 - Made a new php/ directory in the release archive and moved the PHP examples
378   into a subdirectory in there. Not much PHP info yet, but I plan to. Please
379   help me here as well!
380
381 - Made libcurl return error if a transfer is aborted in the middle of a
382   "chunk". It actually enables libcurl to discover premature transfer aborts
383   even if the Content-Length: size is unknown.
384
385 Daniel (15 March 2001)
386 - Added --connect-timeout to curl, which sets the new CURLOPT_CONNECTTIMEOUT
387   option in libcurl. It limits the time curl is allowed to spend in the
388   connection phase. This differs from -m/--max-time that limits the entire
389   file transfer operation. Requested by Larry Fahnoe and others.
390
391   I also updated the curl.1 and curl_easy_setopt.3 man pages and removed the
392   item from the TODO.
393
394 Version 7.7-beta4
395
396 Daniel (14 March 2001)
397 - Made curl grok IPv6 with HTTP proxies and got everything to compile nicely
398   again when ENABLE_IPV6 is set.
399
400   I need to remake things in the test suite. I can't test the FTP parts with
401   curl built for IPv6 as it uses a different set of FTP commands then!
402
403 - I fell onto a bug report on php.net (posted by Lars Torben Wilson) that was
404   a report meant for our project. Anyway, it said the .netrc parsing didn't
405   work as supposed, and as I agreed with Lars, I made the netrc parser use
406   getpwuid() to figure out the home directory of the effective user and try
407   that netrc. It still uses the environment variable HOME for those that don't
408   have that function or if the user doesn't return valid pwd info.
409
410 - Edin Kadribaic posted a bug report where he got a crash when a fetch with
411   user+password in the URL followed a Location: to a second URL (absolute,
412   without name+password). This bug has been around for a long while and
413   crashes due to a read at address zero. Fixed now. Wrote test case 38, that
414   tests this.
415
416 - Modified the test suite's httpserver slightly to append all client request
417   data to its log file so that the test script now better can verify a range
418   of requests and not only the last one, as it did previously.
419
420 - Updated the curl man page with --random-file and --egd-file details.
421
422 Version 7.7-beta3
423
424 Daniel (14 March 2001)
425 - Björn Stenberg provided similar fixes as Jörn did and some additional patches
426   for non-SSL compiles.
427
428 - I increased the interface number for libcurl as I've removed the low level
429   functions from the interface. I also took this opportunity to rename the
430   Curl_strequal function to curl_strequal and Curl_strnequal to
431   curl_strnequal, as they're public libcurl functions (even if they're still
432   undocumented).
433
434   This will make older programs not capable of using the new libcurl with
435   just a drop-in replacement.
436
437 - Jörn Hartroth updated stuff for win32 compiles:
438   o config-win32.h was fixed for socklen_t
439   o lib/ssluse.c had a bad #endif placement
440   o lib/file.c was made to compile on win32 again
441   o lib/Makefile.m32 was updated with the new files
442   o lib/libcurl.def matches the current interface state
443
444 Daniel (13 March 2001)
445 - It only took an hour or so before Jörn Hartroth found a problem in the
446   chunked transfer-encoding. Given his fine example-site, I could easily spot
447   the problem and when I re-read the spec (the part I have pasted in the top
448   of the http_chunks.h file), I realized I had made my state-machine slightly
449   wrong and didn't expect/handle the trailing CRLF that comes after the data
450   in each chunk (and those extra two bytes sure feel wasted).
451
452   Had to modify test case 34 to match this as well.
453
454 Version 7.7-beta2
455
456 Daniel (13 March 2001)
457 - Added the policy stuff to the curl_easy_setopt man page for the two supported
458   policies.
459
460 - Implemented some support for the CURLOPT_CLOSEPOLICY option. The policies
461   CURLCLOSEPOLICY_LEAST_RECENTLY_USED and CURLCLOSEPOLICY_OLDEST are now
462   supported, and the "least recently used" is used as default if no policy
463   is chosen.
464
465 Daniel (12 March 2001)
466 - Added CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET to libcurl for seeding the
467   SSL random engine. The random seeding support was also brought to the curl
468   client with the new options --random-file <file> and --egd-file <file>. I
469   need some people to really test this to know they work as supposed. Remember
470   that libcurl now informs (if verbose is on) if the random seed is considered
471   weak (HTTPS connections).
472
473 - Made the chunked transfer-encoding engine detected bad formatted data length
474   and return error if so (we can't possibly extract sensible data if this is
475   the case). Added a test case that detects this. Number 36. Now there are 60
476   test cases.
477
478 - Added 5 new libcurl options to curl/curl.h that can be used to control the
479   persistent connection support in libcurl. They're also documented (fairly
480   thoroughly) in the curl_easy_setopt.3 man page. Three of them are now
481   implemented, although not really tested at this point... Anyway, the new
482   implemented options are named CURLOPT_MAXCONNECTS, CURLOPT_FRESH_CONNECT,
483   CURLOPT_FORBID_REUSE. The ones still left to write code for are:
484   CURLOPT_CLOSEPOLICY and its related option CURLOPT_CLOSEFUNCTION.
485
486 - Made curl (the actual command line tool) use the new libcurl 7.7 persistent
487   connection support by re-using the same curl handle for every specified file
488   transfer and after some more test case tweaking we have 100% test case OK.
489   I made some test cases return HTTP/1.0 now to make sure that works as well.
490
491 - Had to add 'Connection: close' to the headers of a bunch of test cases so
492   that curl behaves "old-style" since the test http server doesn't do multiple
493   connections... Now I get 100% test case OK.
494
495 - The curl.haxx.se site, the main curl mailing list and my personal email are
496   all dead today due to power blackout in the area where the main servers are
497   located. Horrible.
498
499 - I've made persistance work over a squid HTTP proxy. I find it disturbing
500   that it uses headers that aren't present in any HTTP standard though
501   (Proxy-Connection:) and that makes me feel that I'm now on the edge of what
502   the standard actually defines. I need to get this code excercised on a lot
503   of different HTTP proxies before I feel safe.
504
505   Now I'm facing the problem with my test suite servers (both FTP and HTTP)
506   not supporting persistent connections and libcurl is doing them now. I have
507   to fix the test servers to get all the test cases do OK.
508
509 Daniel (8 March 2001)
510 - Guenole Bescon reported that libcurl did output errors to stderr even if
511   MUTE and NOPROGRESS was set. It turned out to be a bug and happens if
512   there's an error and no ERRORBUFFER is set. This is now corrected.
513
514 Version 7.7-beta1
515
516 Daniel (8 March 2001)
517 - "Transfer-Encoding: chunked" is no longer any trouble for libcurl. I've
518   added two source files and I've run some test downloads that look fine.
519
520 - HTTP HEAD works too, even on 1.1 servers.
521
522 Daniel (5 March 2001)
523 - The current 57 test cases now pass OK. It would suggest that libcurl works
524   using the old-style with one connection per handle. The test suite doesn't
525   handle multiple connections yet so there are no test cases for this.
526
527 - I patched the telnet.c heavily to not use any global variables anymore. It
528   should make it a lot nicer library-wise.
529
530 - The file:// support was modified slightly to use the internal connect-first-
531   then-do approach.
532
533 Daniel (4 March 2001)
534 - More bugs erased.
535
536 Version 7.7-alpha2
537
538 Daniel (4 March 2001)
539 - Now, there's even a basic check that a re-used connection is still alive
540   before it is assumed so. A few first tests have proven that libcurl will
541   then re-connect instead of re-use the dead connection!
542
543 Daniel (2 March 2001)
544 - Now they work intermixed as well. Major coolness!
545
546 - More fiddling around, my 'tiny' client I have for testing purposes now has
547   proved to download both FTP and HTTP with persistent connections. They do
548   not work intermixed yet though.
549
550 Daniel (1 March 2001)
551 - Wilfredo Sanchez pointed out a minor spelling mistake in a man page and that
552   curl_slist_append() should take a const char * as second argument. It does
553   now.
554
555 Daniel (22 February 2001)
556 - The persistent connections start to look good for HTTP. On a subsequent
557   request, it seems that libcurl now can pick an already existing connection
558   if a suitable one exists, or it opens a new one.
559
560 - Douglas R. Horner mailed me corrections to the curl_formparse() man page
561   that I applied.
562
563 Daniel (20 February 2001)
564 - Added the docs/examples/win32sockets.c file for our windows friends.
565
566 - Linus Nielsen Feltzing provided brand new TELNET functionality and
567   improvements:
568
569   * Negotiation is now passive. Curl does not negotiate until the peer does.
570   * Possibility to set negotiation options on the command line, currently only
571     XDISPLOC, TTYPE and NEW_ENVIRON (called NEW_ENV).
572   * Now sends the USER environment variable if the -u switch is used.
573   * Use -t to set telnet options (Linus even updated the man page, awesome!)
574
575 - Haven't done this big changes to curl for a while. Moved around a lot of
576   struct fields and stuff to make multiple connections get connection specific
577   data in separate structs so that they can co-exist in a nice way. See the
578   mailing lists for discussions around how this is gonna be implemented. Docs
579   and more will follow.
580
581   Studied the HTTP RFC to find out better how persistent connections should
582   work. Seems cool enough.
583
584 Daniel (19 February 2001)
585 - Bob Schader brought me two files that help set up a MS VC++ libcurl project
586   easier. He also provided me with an up-to-date libcurl.def file.
587
588 - I moved a bunch of prototypes from the public <curl/curl.h> file to the
589   library private urldata.h. This is because of the upcoming changes. The
590   low level interface is no longer being planned to become reality.
591
592 Daniel (15 February 2001)
593 - CURLOPT_POST is not required anymore. Just setting the POST string with
594   CURLOPT_POSTFIELDS will switch on the HTTP POST. Most other things in
595   libcurl already works this way, i.e they require only the parameter to
596   switch on a feature so I think this works well with the rest. Setting a NULL
597   string switches off the POST again.
598
599 - Excellent suggestions from Rich Gray, Rick Jones, Johan Nilsson and Bjorn
600   Reese helped me define a way how to incorporate persistent connections into
601   libcurl in a very smooth way. If done right, no change may have to be made
602   to older programs and they will just start using persistent connections when
603   applicable!
604
605 Daniel (13 February 2001)
606 - Changed the word 'timeouted' to 'timed out' in two different error messages.
607   Suggested by Larry Fahnoe.
608
609 Version 7.6.1
610
611 Daniel (9 February 2001)
612 - Frank Reid and Cain Hopwood provided information and research around a HTTPS
613   PUT/upload problem we seem to have. No solution found yet.
614
615 Daniel (8 February 2001)
616 - An interesting discussion is how to specify an empty password without having
617   curl ask for it interactively? The current implmentation takes an empty
618   password as a request for a password prompt. However, I still want to
619   support a blank user field. Thus, today if you enter "-u :" (without user
620   and password) curl will prompt for the password. Tricky. How would you
621   specify you want the prompt otherwise?
622
623 - Made the netrc parse result possible to use for other protocols than FTP and
624   HTTP (such as the upcoming TELNET fixes).
625
626 - The previously mentioned "MSVC++ problems" turned out to be a non-issue.
627
628 - Added a HTTP file upload code example in the docs/examples/ section on
629   request.
630
631 - Adjusted the FTP response fix slightly.
632
633 Version 7.6.1-pre3
634
635 Daniel (7 February 2001)
636 - S. Moonesamy found a flaw in the response reading function for FTP that
637   could make libcurl not get out of the loop properly when it should, if
638   libcurl got -1 returned when reading the socket.
639
640 - I found a similar mistake in http.c when using a proxy and reading the
641   results from the proxy connection.
642
643 Daniel (6 February 2001)
644 - S. Moonesamy pointed out that the VC makefile in src/ needed the libpath set
645   for the debug build to work.
646
647 - Daniel Gehriger stepped in to assist with the VC++ stuff Robert Weaver
648   brought up yesterday.
649
650 Daniel (5 February 2001)
651 - Jun-ichiro itojun Hagino brought a big patch that brings IPv6-awareness to
652   a bunch of different areas within libcurl.
653
654 - Robert Weaver told me about the problems the MS VC++ 6.0 compiler has with
655   the 'static' keyword on a number of libcurl functions. I might need to add a
656   patch that redefines static when libcurl is compiled with that compiler.
657   How do I know when VC++ compiles, anyone?
658
659 Daniel (4 February 2001)
660 - curl_getinfo() was extended with two new options:
661   CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD. They
662   return the full assumed content length of the transfer in the given
663   direction. The CURLINFO_CONTENT_LENGTH_DOWNLOAD will be the Content-Length:
664   size of a HTTP download. Added descriptions to the man page as well. This
665   was done after discussions with Bob Schader.
666
667 Daniel (3 February 2001)
668 - Ingo Ralf Blum provided another fix that makes curl build under the more
669   recent cygwin installations. It seems they've changed the preset defines to
670   not include WIN32 anymore.
671
672 Version 7.6.1-pre2
673
674 Daniel (31 January 2001)
675 - Curl_read() and curl_read() now return a ssize_t for the size, as it had to
676   be able to return -1. The telnet support crashed due to this and there was a
677   possibility to weird behaviour all over. Linus Nielsen Feltzing helped me
678   find this.
679
680 - Added a configure.in check for a working getaddrinfo() if IPv6 is requested.
681   I also made the configure script feature --enable-debug which sets a couple
682   of compiler options when used. It assumes gcc.
683
684 Daniel (30 January 2001)
685 - I finally took a stab at the long-term FIXME item I've had on myself, and
686   now libcurl will properly work when doing a HTTP range-request that follows
687   a Location:. Previously that would make libcurl fail saying that the server
688   doesn't seem to support range requests.
689
690 Daniel (29 January 2001)
691 - I added a test case for the HTTP PUT resume thing (test case 33).
692
693 Version 7.6.1-pre1
694
695 Daniel (29 January 2001)
696 - Yet another Content-Range change. Ok now? Bob Schader checks from his end 
697   and it works for him.
698
699 Daniel (27 January 2001)
700 - So the HTTP PUT resume fix wasn't good. There should appearantly be a
701   Content-Range header when resuming a PUT.
702
703 - I noticed I broke the download-check that verifies that a resumed HTTP
704   download is actually resumed. It got broke because my new 'httpreq' field
705   in the main curl struct. I should get slapped. I added a test case for
706   this now, so I won't be able to ruin this again without noticing.
707
708 - Added a test case for content-length verifying when downloading HTTP.
709
710 - Made the progress meter title say if the transfer is being transfered. It
711   makes the output slightly better for resumes.
712
713 - When dealing with Location: and HTTP return codes, libcurl will not attempt
714   to follow the spirit of RFC2616 better. It means that when POSTing to a
715   URL that is being following to a second place, the standard will judge on
716   what to do. All HTTP codes except 303 and 305 will cause curl to make a
717   second POST operation. 303 will make a GET and 305 is not yet supported.
718
719   I also wrote two test cases for this POST/GET/Location stuff.
720
721 Version 7.6
722
723 Daniel (26 January 2001)
724 - Lots of mails back and forth with Bob Schader finally made me add a small
725   piece of code in the HTTP engine so that HTTP upload resume works. You can
726   now do an operation like 'curl -T file -C <offset> <URL>' and curl will PUT
727   the ending part of the file starting at given offet to the specified URL.
728
729 Version 7.6-pre4
730
731 Daniel (25 January 2001)
732 - I took hold of Rick Jones' question why we don't use recv() and send() for
733   reading/writing to the sockets and I've now modified the sread() and
734   swrite() macros to use them instead. If nothing else, they could be tested
735   in the next beta-round coming right up.
736
737 - Jeff Morrow found a problem with libcurl's usage of SSL_read() and supplied
738   his research results in how to fix this. It turns out we have to invoke the
739   function several times in some cases. The same goes for the SSL_write().
740
741   I made some rather drastic changes all over libcurl to make all writes and
742   reads get done on one single place so that this repeated-attempts thing
743   would only have to be implemented at one point.
744
745 - Rick Jones spotted that the 'total time' counter really didn't measure the
746   total time very accurate on subsecond levels.
747
748 - Johan Nilsson pointed out the need to more clearly specify that the timeout
749   value you set for a download is for the *entire* download. There's currently
750   no option available that sets a timeout for the connection phase only.
751
752 Daniel (24 January 2001)
753 - Ingo Ralf Blum submitted a series of patches required to get curl to compile
754   properly with cygwin.
755
756 - Robert Weaver posted a fix for the win32 section of the curl_getenv() code
757   that corrected a potential memory leak.
758
759 - Added comments in a few files in a sudden attempt to make the sources more
760   easy to read and understand!
761
762 Daniel (23 January 2001)
763 - Added simple IPv6 detection in the configure script and made the version
764   string add 'ipv6' to the enable section in that case. ENABLE_IPV6 will be
765   set if curl is compiled with IPv6 support enabled.
766
767 - Added a parser for IPv6-style specified IP-addresses in a URL. Thus, when
768   IPv6 gets enabled soon, we can use URLs like '[0::1]:80'...
769
770 - Made the URL globbing in the client possible to fail silently if there's an
771   error in the globbing. It makes it almost intuitive, so when you don't
772   follow the syntax rules, globbing is simply switched off and the raw string
773   is used instead.
774
775   I still think we'll get problems with IPv6-style IP-addresses when we *want*
776   globbing on parts of the URL as the initial part of the URL will for sure
777   seriously confuse the globber.
778
779 Daniel (22 January 2001)
780 - Björn Stenberg supplied a progress meter patch that makes it look better even
781   during slow starts. Previously it made some silly assumptions...
782
783 - Added two FTP tests for -Q and -Q - stuff since it was being discussed on
784   the mailing list. Had to correct the ftpserver.pl too as it bugged slightly.
785
786 Daniel (19 January 2001)
787 - Made the Location: parsers deal with any-length URLs. Thus I removed the last
788   code that restricts the length of URLs that curl supports.
789
790 - Added a --globoff test case (#28) and it quickly identified a memory problem
791   in src/main.c that I took care of.
792
793 Version 7.6-pre3
794
795 Daniel (17 January 2001)
796 - Made the two former files lib/download.c and lib/highlevel.c become the new
797   lib/transfer.c which makes more sense. I also did the rename from Transfer()
798   to Curl_Transfer() in the other source files that use the transfer function
799   in the spirit of using Curl_ prefix for library-scoped global symbols.
800
801 Daniel (11 January 2001)
802 - Added -g/--globoff that switches OFF the URL globbing and thus enables {}[]
803   letters to be part of the URL. Do note that RFC2396 section 2.4.3 explicitly
804   mention these letters to be escaped. This was posted as a feature request by
805   Jorge Gutierrez and as a bug by Terry.
806
807 - Short options to curl that requires parameters can now be specified without
808   having the option and its parameter space separated. -ofile works as good as
809   -o file. -m20 is equal to -m 20. Do note that this goes for single-letter
810   options only, verbose --long-style options still must be separated with
811   space from their parameters.
812
813 Daniel (8 January 2001)
814 - Francis Dagenais reported that the SCO compiler still fails when compiling
815   curl due to that getpass_r() prototype. I've now put it around #ifndef
816   HAVE_GETPASS_R in an attempt to please the SCO systems.
817
818 - Made some minor corrections to get the client to cleanup properly and I made
819   the separator work again when getting multiple globbed URLs to stdout.
820
821 - Worked with Loic Dachary to get the make dist and make distcheck work
822   correctly. The 'maketgz' script is now using the automake generated 'make
823   dist' when creating release archives. Loic successfully made 'make rpms'
824   automatically build RPMs!
825
826 Loic Dachary (6 January 2001)
827 - Automated generation of rpm packages, no need to be root.
828
829 - make distcheck generates a proper distribution (EXTRA_DIST
830   in all Makefile.am modified to match FILES).
831
832 Daniel (5 January 2001)
833 - Huge client-side hack: now multiple URLs are supported. Any number of URLs
834   can be specified on the command line, and they'll all be downloaded. There
835   must be a corresponding -o or -O for each URL or the data will be written to
836   stdout. This needs more testing, time to release a 7.6-pre package.
837
838 - The krb4 support was broken in the release. Fixed now.
839
840 - Huge internal symbol rename operation. All non-static but still lib-internal
841   symbols should now be prefixed with 'Curl_' to prevent collisions with other
842   libs. All public symbols should be prefixed with 'curl_' and the rest should
843   be static and thus invisible to the outside world. I updated the INTERNALS
844   document to say this as well.
845
846 Version 7.5.2
847
848 Daniel (4 January 2001)
849 - As Kevin P Roth suggested, I've added text to the man page for every command
850   line option and what happens when you specify that option more than
851   once. That hasn't been exactly crystal clear before.
852
853 - Made the configure script possible to run from outside the source-tree. For
854   odd reasons I can't build curl properly outside though. It has to do with
855   curl's dependencies on libcurl...
856
857 - Cut off all older (dated 1999 and earlier) CHANGES entries from this file.
858   The older piece is named CHANGES.0 and is added to the CVS repository in
859   case anyone would need it.
860
861 - I added another file 'CVS-INFO' to the CVS. It contains information about
862   files in the CVS that aren't included in release archives and how to build
863   curl when you get the sources off CVS.
864
865 - Updated CONTRIBUTE and FAQ due to the new license.
866
867 Daniel (3 January 2001)
868 - Renamed README.libcurl to LIBCURL
869
870 - Changed headers in all sources files to the new dual license concept of
871   curl: use the MIT/X derivate license *or* MPL. The LEGAL file was updated
872   accordingly and the MPL 1.1 and MIT/X derivate licenses are now part of the
873   release archive.
874
875 Daniel (30 December 2000)
876 - Made all FTP commands get sent with the trailing CRLF in one single write()
877   as splitting them up seems to confuse at least some firewalls (FW-1 being
878   one major).
879
880 Daniel (19 December 2000)
881 - Added file desrciptor and FILE handle leak detection to the memdebug system
882   and thus I found and removed a file descriptor leakage in the ftp parts
883   that happened when you did PORTed downloads.
884
885 - Added an include <stdio.h> in <curl/curl.h> since it uses FILE *.
886
887 Daniel (12 December 2000)
888 - Multiple URL downloads with -O was still bugging. Not anymore I think or
889   hope, or at least I've tried... :-O
890
891 - Francois Petitjean fixed another -O problem
892
893 Version 7.5.1
894
895 Daniel (11 December 2000)
896 - Cleaned up a few of the makefiles to use unix-style newlines only. As Kevin
897   P Roth found out, at least one CVS client behaved wrongly when it found
898   different newline conventions within the same file.
899
900 - Albert Chin-A-Young corrected the LDFLAGS use in the configure script for
901   the SSL stuff.
902
903 Daniel (6 December 2000)
904 - Massimo Squillace correctly described how libcurl could use session ids when
905   doing SSL connections.
906
907 - James Griffiths found out that curl would crash if the file you specify with
908   -o is shorter than the URL! This took some hours to fully hunt down, but it
909   is fixed now.
910
911 Daniel (5 December 2000)
912 - Jaepil Kim sent us makefiles that build curl using the free windows borland
913   compiler. The root makefile now accepts 'make borland' to build curl with
914   that compiler.
915
916 - Stefan Radman pointed out that the test makefiles didn't use the PERL
917   variable that the configure scripts figure out. Actually, you still need
918   perl in the path for the test suite to run ok.
919
920 - Rich Gray found numerous portability problems:
921   * The SCO compiler got an error on the getpass_r() prototype in getpass.h
922     since the curl one differed from the SCO one
923   * The HPUX compiler got an error because of how curl did the sigaction
924     stuff and used a define HPUX doesn't have (or need).
925   * A few more problems remain to be researched.
926
927 - Paul Harrington experienced a core dump using https. Not much details yet.
928
929 Daniel (4 December 2000)
930 - Jörn Hartroth fixed a problem with multiple URLs and -o/-O.
931
932 Version 7.5
933
934 Daniel (1 December 2000)
935 - Craig Davison gave us his updates on the VC++ makefiles, so now curl should
936   build fine with the Microsoft compiler on windows too.
937
938 - Fixed the libcurl versioning so that we don't ruin old programs when
939   releasing new shared library interfaces.
940
941 Daniel (30 November 2000)
942 - Renamed docs/README.curl to docs/MANUAL to better reflect what the document
943   actually contains.
944
945 Daniel (29 November 2000)
946 - I removed a bunch of '#if 0' sections from the code. They only make things
947   harder to follow. After all, we do have all older versions in the CVS.
948
949 Version 7.5-pre5
950
951 Daniel (28 November 2000)
952 - I filled in more error codes in the man page error code list that had been
953   lagging.
954
955 - James Griffiths mailed me a fine patch that introduces the CURLOPT_MAXREDIRS
956   libcurl option. When used, it'll prevent location following more than the
957   set number of times. It is useful to break out of endless redirect-loops.
958
959 Daniel (27 November 2000)
960 - Added two test cases for file://.
961
962 Daniel (22 November 2000)
963 - Added the libcurl CURLOPT_FILETIME setopt, when set it tries to get the
964   modified time of the remote document. This is a special option since it
965   involves an extra set of commands on FTP servers. (Using the MDTM command
966   which is not in the RFC959)
967
968   curl_easy_getinfo() got a corresponding CURLINFO_FILETIME to get the time
969   after a transfer. It'll return a zero if CURLOPT_FILETIME wasn't used or if
970   the time wasn't possible to get.
971
972   --head/-I used on a FTP server will now present a 'Last-Modified:' header
973   if curl could get the time of the specified file.
974
975 - Added the option '--cacert [file]' to curl, which allows a specified PEM
976   file to be used to verify the peer's certificate when doing HTTPS
977   connections. This has been requested, rather recently by Hulka Bohuslav but
978   others have asked for it before as well.
979
980 Daniel (21 November 2000)
981 - Numerous fixes the test suite has brought into the daylight:
982
983    * curl_unescape() could return a too long string
984    * on ftp transfer failures, there could be memory leaks
985    * ftp CWD could use bad directory names
986    * memdebug now uses the mprintf() routines for better portability
987    * free(NULL) removed when doing resumed transfers
988
989 - Added a bunch of test cases for FTP.
990
991 - General cleanups to make less warnings with gcc -Wall -pedantic.
992
993 - I made the tests/ftpserver.pl work with the most commonly used ftp
994   operations. PORT, PASV, RETR, STOR, LIST, SIZE, USER, PASS all work now. Now
995   all I have to do is integrate the ftp server doings in the runtests.pl
996   script so that ftp tests can be run the same way http tests already run.
997
998 Daniel (20 November 2000)
999 - Made libcurl capable of dealing with any-length URLs. The former limit of
1000   4096 bytes was a bit annoying when people wanted to use curl to really make
1001   life tough on a web server. Now, the command line limit is the most annoying
1002   but that can be circumvented by using a config file.
1003
1004   NOTE: there is still a 4096-byte limit on URLs extracted from Location:
1005   headers.
1006
1007 - Corrected the spelling of 'resolve' in two error messages.
1008
1009 - Alexander Kourakos posted a bug report and a patch that corrected it! It
1010   turned out that lynx and wget support lowercase environment variable names
1011   where curl only looked for the uppercase versions. Now curl will use the
1012   lowercase versions if they exist, but if they don't, it'll use the uppercase
1013   versions.
1014
1015 Daniel (17 November 2000)
1016 - curl_formfree() was added. How come no one missed that one before? I ran the
1017   test suite with the malloc debug enabled and got lots of "nice" warnings on
1018   memory leaks. The most serious one was this. There were also leaks in the
1019   cookie handling, and a few errors when curl failed to connect and similar
1020   things. More tests cases were added to cover up and to verify that these
1021   problems have been removed.
1022
1023 - Mucho updated config file parser (I'm dead tired of all the bug reports and
1024   weird behaviour I get on the former one). It works slightly differently now,
1025   although I doubt many people will notice the differences. The main
1026   difference being that if you use options that require parameters, they must
1027   both be specified on the same line. With this new parser, you can also
1028   specify long options without '--' and you may separate options and
1029   parameters with : or =. It makes a config file line could look like:
1030
1031         user-agent = "foobar and something"
1032
1033   Parameters within quotes may contain spaces. Without quotes, they're
1034   expected to be a single non-space word.
1035
1036   Had to patch the command line argument parser a little to make this work.
1037
1038 - Added --url as an option to allow the URL to be specified this way. It makes
1039   way nicer config files. The previous way of specifying URLs in the config
1040   file doesn't work anymore.
1041
1042 Daniel (15 November 2000)
1043 - Using certain characters in usernames or passwords for HTTP authentication
1044   failed. This was due to the mprintf() that had a silly check for letters,
1045   and if they weren't isprint() they weren't outputed "as-is". This caused
1046   passwords and usernames using '§' (for example) to fail.
1047
1048 Version 7.4.2
1049
1050 Daniel (15 November 2000)
1051 - 'tests/runtests.pl' now sorts the test cases properly when 'all' is used.
1052
1053 Daniel (14 November 2000)
1054 - I fell over the draft-ietf-ftpext-mlst-12.txt Internet Draft titled
1055   "Extensions to FTP" that contains a defined way how the ftp command SIZE
1056   could be assumed to work.
1057
1058 - Laurent Papier posted a bug report about using "-C -" and FTP uploading a
1059   file that isn't prsent on the server. The server might then return a 550 and
1060   curl will fail. Should it instead as Laurent Papier suggests, start
1061   uploading from the beginning as a normal upload?
1062
1063 Daniel (13 November 2000)
1064 - Fixed a crash with the followlocation counter.
1065
1066 - While writing test cases for the test suite, I discovered an old limitation
1067   that prevented -o and -T to be used at the same time. I removed this
1068   immediately as this has no relevance in the current libcurl.
1069   
1070 - Chris Faherty fixed a free-twice problem in lib/file.c
1071
1072 - I fixed the perl http server problem in the test suite.
1073
1074 Version 7.4.2 pre4
1075
1076 Daniel (10 November 2000)
1077 - I've (finally) started working on the curl test suite. It is in the new
1078   tests/ directory. It requires sh and perl. There's a TCP server in perl and
1079   most of the other stuff running a pretty simple shell script.
1080
1081   I've only made four test cases so far, but it proves the system can work.
1082
1083 - Laurent Papier noticed that curl didn't set TYPE when doing --head checks
1084   for sizes on FTP servers. Some servers seem to return different sizes
1085   depending on whether ASCII or BINARY is used!
1086
1087 - Laurent Papier detected that if you appended a FTP upload and everything was
1088   already uploaded, curl would hang.
1089
1090 - Angus Mackay's getpass_r() in lib/getpass.c is now compliant with the
1091   getpass_r() function it seems some systems actually have.
1092   
1093 - Venkataramana Mokkapati detected a bug in the cookie parser and corrected
1094   it.  If the cookie was set for the full host name (domain=full.host.com),
1095   the cookie was never sent back because of a faulty length comparison between
1096   the set domain length and the current host name.
1097
1098 Daniel (9 November 2000)
1099 - Added a configure check for gethostbyname in -lsocket (OS/2 seems to need
1100   it). Added a check for RSAglue/rsaref for the cases where libcrypto is found
1101   but libssl isn't. I haven't verified this fix yet though, as I have no
1102   system that requires those libs to build.
1103   
1104 Version 7.4.2 pre3
1105
1106 Daniel (7 November 2000)
1107 - Removed perror() outputs from getpass.c. Angus Mackay also agreed to a
1108   slightly modified license of the getpass.c file as the prototype was changed.
1109
1110 Daniel (6 November 2000)
1111 - Added possibility to set a password callback to use instead of the built-in.
1112   They're controled with curl_easy_setopt() of course, the tags are
1113   CURLOPT_PASSWDFUNCTION and CURLOPT_PASSWDDATA.
1114
1115 - Used T. Bharath's thinking and fixed the timers that showed terribly wrong
1116   times when location: headers were followed.
1117
1118 - Emmanuel Tychon discovered that curl didn't really like user names only in
1119   the URL. I corrected this and I also fixed the since long living problem
1120   with URL encoded user names and passwords in the URLs. They should work now.
1121   
1122 Daniel (2 November 2000)
1123 - When I added --interface, the new error code that was added with it was
1124   inserted in the wrong place and thus all error codes from 35 and upwards got
1125   increased one step. This is now corrected, we're back at the previous
1126   numbers. All new exit codes should be added at the end.
1127
1128 Daniel (1 November 2000)
1129 - Added a check for signal() in the configure script so that if sigaction()
1130   isn't present, we can use signal() instead.
1131
1132 - I'm having a license discussion going on privately. The issue is yet again
1133   GPL-licensed programs that have problems with MPL. I am leaning towards
1134   making a kind of dual-license that will solve this once and for all...
1135
1136 Daniel (31 October 2000)
1137 - Added the packages/ directory. I intend to let this contain some docs and
1138   templates on how to generate custom-format packages for various platforms.
1139   I've now removed the RPM related curl.spec files from the archive root.
1140
1141 Daniel (30 October 2000)
1142 - T. Bharath brought a set of patches that bring new functionality to
1143   curl_easy_getinfo() and curl_easy_setopt(). Now you can request peer
1144   certificate verification with the *setopt() CURLOPT_SSL_VERIFYPEER option
1145   and then use the CURLOPT_CAINFO to set the certificate to verify the remote
1146   peer against. After an such an operation with a verification request, the
1147   *_getinfo() option CURLINFO_SSL_VERIFYRESULT will return information about
1148   whether the verification succeeded or not.  
1149
1150 Daniel (27 October 2000)
1151 - Georg Horn brought us a splendid patch that solves the long-standing
1152   annoying problem with timeouts that made curl exit with silly exit codes
1153   (which as been commented out lately). This solution is sigaction() based and
1154   of course then only works for unixes (and only those unixes that actually
1155   have the sigaction() function).
1156
1157 Daniel (26 October 2000)
1158 - Björn Stenberg supplied a patch that fixed the flaw mentioned by Kevin Roth
1159   that made the password get echoed when prompted for interactively. The
1160   getpass() function (now known as my_getpass()) was also fixed to not use any
1161   static buffers. This also means we cannot use the "standard" getpass()
1162   function even for those systems that have it, since it isn't thread-safe.
1163   
1164 - Kevin Roth found out that if you'd write a config file with '-v url', the
1165   url would not be used as "default URL" as documented, although if you wrote
1166   it 'url -v' it worked! This has been corrected now.
1167
1168 - Kevin Roth's idea of using multiple -d options on the same command line was
1169   just brilliant, and I couldn't really think of any reason why we shouldn't
1170   support it! The append function always append '&' and then the new -d
1171   chunk. This enables constructs like the following:
1172
1173         curl -d name=daniel -d age=unknown foobarsite.com
1174
1175 Daniel (24 October 2000)
1176 - I fixed the lib/memdebug.c source so that it compiles on Linux and other
1177   systems. It will be useful one day when someone else but me wants to run the
1178   memory debugging system.
1179
1180 Daniel (23 October 2000)
1181 - I modified the maketgz and configure scripts, so that the configure script
1182   will fetch the version number from the include/curl/curl.h header files, and
1183   then the maketgz doesn't have to rebuild the configure script when I build
1184   release-archives.
1185
1186 - Björn Stenberg and Linus Nielsen correctly pointed out that curl was silly
1187   enough to not allow @-letters in passwords when they were specified with the
1188   -u or -U flags (CURLOPT_USERPWD and CURLOPT_PROXYUSERPWD). This also
1189   suggests that curl probably should url-decode the password piece of an URL
1190   so that you could pass an encoded @-letter there...
1191   
1192 Daniel (20 October 2000)
1193 - Yet another http server barfed on curl's request that include the port
1194   number in the Host: header always. I now only include the port number if it
1195   isn't the default (80 for HTTP, 443 for HTTPS). www.perl.com turned out to
1196   run one of those nasty servers.
1197
1198 - The PHP4 module for curl had problems with referer that seems to have been
1199   corrected just yesterday. (Sterling Hughes of the PHP team confirmed this)
1200
1201 Daniel (17 October 2000)
1202 - Vladimir Oblomov reported that the -Y and -y options didn't work. They
1203   didn't work for me either. This once again proves we should have that test
1204   suite...
1205   
1206 - I finally changed the error message libcurl returns if you try a https://
1207   URL when the library wasn't build with SSL enabled. It will now return this
1208   error:
1209         "libcurl was built with SSL disabled, https: not supported!"
1210
1211   I really hope it will make it a bit clearer to users where the actual
1212   problem lies.
1213
1214 Version 7.4.1
1215
1216 Daniel (16 October 2000)
1217 - I forgot to remove some of the malloc debug defines from the makefiles in
1218   the release archive (of course).
1219
1220 Version 7.4
1221
1222 Daniel (16 October 2000)
1223 - The buffer overflow mentioned below was posted to bugtraq on Friday 13th.
1224
1225 Daniel (12 October 2000)
1226 - Colin Robert Phipps elegantly corrected a buffer overflow. It could be used
1227   by an evil ftp server to crash curl. I took the opportunity of replacing a
1228   few other sprintf()s into snprintf()s as well.
1229
1230 Daniel (11 October 2000)
1231 - Found some more memory leaks. This new simple memory debugger has turned out
1232   really useful!
1233
1234 Version 7.4 pre6
1235
1236 Daniel (9 October 2000)
1237 - Florian Koenig pointed out that the bool typedef in the curl/curl.h include
1238   file was breaking PHP 4.0.3 compiling. The bool typedef is not used in the
1239   public interface and was wrongly inserted in that header file.
1240
1241 - Jörg Hartroth corrected a minor memory leak in the src/urlglob.c stuff. It
1242   didn't harm anyone since the memory is free()ed on exit anyway.
1243
1244 - Corrected the src/main.c. We use the _MPRINTF_REPLACE #define to use our
1245   libcurl-printf() functions. This gives us snprintf() et al on all
1246   platforms. I converted the allocated useragent string to one that uses a
1247   local buffer.
1248
1249 - I've set an #if 0 section around the Content-Transfer-Encoding header
1250   generated in lib/formdata.c. This will hopefully make curl do more
1251   PHP-friendly multi-part posts.
1252
1253 Version 7.4 pre5
1254
1255 Daniel (9 October 2000)
1256 - Nico Baggus found out that curl's ability to force a ASCII download when
1257   using FTP was no longer working! I corrected this. This problem was probably
1258   introduced when I redesigned libcurl for version 7.
1259
1260 - Georg Horn provided a source example that proved a memory leak in libcurl.
1261   I added simple memory debugging facilities and now we can make libcurl log
1262   all memory fiddling functions. An additional perl script is used to analyze
1263   the output logfile and to match malloc()s with free()s etc. The memory leak
1264   Georg found turned out to be the main cookie struct that cookie_cleanup()
1265   didn't free! The perl script is named memanalyze.pl and it is available in
1266   the CVS respository, not in the release archive.
1267
1268 Daniel (8 October 2000)
1269 - Georg Horn found a GetHost() problem. It turned out it never assigned the
1270   pointer in the third argument properly! This could make a crash, or at best
1271   a memory leak!
1272
1273 Version 7.4 pre4
1274
1275 Daniel (6 October 2000)
1276 - Is the -F post following the RFC 1867 spec? We had this dicussion on the
1277   mailing list since it appears curl can't post -F form posts to a PHP
1278   receiver... I've been in touch with the PHP developers about this.
1279
1280 - Domenico Andreoli found out that the long option '--proxy' wasn't working
1281   anymore! The option parser got confused when I added the --proxytunnel for
1282   7.3. This was indeed a very old flaw that hasn't turned up until now...
1283
1284 - Jörn Hartroth provided patches, updated makefiles and two new files for DLL
1285   stuff on win32. He also pointed out that lib source files were compiled with
1286   -I../src which isn't only wrong but plain stupid!
1287
1288 - Troels Walsted Hansen fixed a problem with HTTP resume. Curl previously used
1289   a local variable badly, that could lead to crashes.
1290
1291 Version 7.4 pre3
1292
1293 Daniel (4 October 2000)
1294 - More docs written. The curl_easy_getinfo.3 man page is now pretty accurate,
1295   as is the -w section in curl.1. I added two options to enable the user to
1296   get information about the received headers' size and the size of the HTTP
1297   request. T. Bharath requested them.
1298   
1299 Daniel (3 October 2000)
1300 - Corrected a sever free() before use in the new add_buffer_send()! ;-)
1301
1302 Version 7.4 pre2
1303
1304 Daniel (3 October 2000)
1305 - Jason S. Priebe sent me patches that changed the way curl issues HTTP
1306   requests. The entire request is now issued in one single shot. It didn't do
1307   this previously, and it has turned out that since the common browsers do it
1308   this way, some sites have turned out to work with browsers but not with
1309   curl! Although this is not a client-side problem, we want to be able to
1310   fully emulate browsers, and thus we have now adjusted the networking layer
1311   to slightly more appear as a browser. I adjusted Jason's patch, the faults
1312   are probably mine.
1313
1314 Daniel (2 October 2000)
1315 - Anyone who ever uploaded data with curl on a slow link has noticed that the
1316   progess meter is updated very infrequently. That is due to the large buffer
1317   size curl is using. It reads 50Kb and sends it, updates the progress meter
1318   and loops. 50Kb is very much on a slow link, although it is pretty neat to
1319   use on a fast one.
1320
1321   I've now made an adjustment that makes curl use a 2Kb buffer for uploads to
1322   start with. If curl's average upload speed is faster than buffer size bytes
1323   per second, curl will increase the used buffer size up to max 50Kb. It
1324   should make the progress meter work better.
1325   
1326 Version 7.4 pre1
1327
1328 Daniel (29 September 2000)
1329 - Ripped out the -w stuff from the library and put in the curl tool. It gets
1330   all the relevant info from the library using the new curl_easy_getinfo()
1331   function.
1332
1333 - brad at openbsd.org mailed me a patch that corrected my kerberos mistake and
1334   removed a compiler warning from hostip.c that OpenBSD people get.
1335
1336 Daniel (28 September 2000)
1337 - Of course (I should probably get punished somehow) I didn't properly correct
1338   the #include lines for the base64 stuff in the kerberos sources in the just
1339   released 7.3 package. They still include the *_krb.h files! Now, the error
1340   is sooo very easy to spot and fix so I won't bother with a quick bug fix
1341   release. I'll post a patch whenever one is needed instead. It'll be
1342   available in the CVS in a few minutes anyway.
1343
1344 Version 7.3
1345
1346 Daniel (28 September 2000)
1347 - Removed the base64_krb.[ch] files. They've now replaced the former
1348   base64.[ch] files.
1349
1350 Daniel (26 September 2000)
1351 - Updated some docs.
1352
1353 - I changed the OpenSSL fix to work with older versions as well. The posted
1354   patch was only working with 0.9.6 and no older ones.
1355   
1356 Version 7.3-pre8
1357
1358 Daniel (25 September 2000)
1359 - Erdmut Pfeifer informed us that curl didn't build with OpenSSL 0.9.6 and
1360   showed us what needed to get patched in order to make it build properly
1361   again.
1362
1363 - Dirk Kruschewski found a bug in the cookie parser. I made an alternative
1364   approach to the solution Dirk himself suggested. The bug made a cookie
1365   header that didn't end with a trailing semicolon to not get parsed.
1366
1367 - I've marked -c and -t deprecated now. If you use any of them, curl will tell
1368   you to use "-C -" or "-T -" instead. I don't think occupying two letters for
1369   nearly identical functions is good use. Also, -T - kind of follows the curl
1370   tradition of using - for stdin where a file name is expected.
1371
1372 Daniel (23 September 2000)
1373 - Martin Hedenfalk provided the patch that finally made the krb4 ftp upload
1374   work!
1375
1376 Daniel (21 September 2000)
1377 - The kerberos code is not quite thread-safe yet. There are a few more globals
1378   that need to be take care of. Let's get the upload working first!
1379
1380 Daniel (20 September 2000)
1381 - Richard Prescott solved another name lookup buffer size problem. I took this
1382   opportunity to rewrite the GetHost() function. With these large buffer
1383   sizes, I think keeping them as local arrays quickly turn ugly. I now use
1384   malloc() to get the buffer memory. Thanks to this, I now can realloc() to a
1385   large buffer in case of demand (errno == ERANGE) in case a solution like
1386   that would become necessary. I still want to avoid that kind of nastiness.
1387
1388 - Tried to compile and run curl on Linux for alpha and FreeBSD for alpha. Went
1389   as smooth as it could.
1390
1391 - Added a docs/examples directory with two tiny example sources that show how
1392   to use libcurl. I hope users will supply me with more useful examples
1393   further on.
1394
1395 - Applied a patch by Jörn Hartroth to no longer use the word 'inteface' in the
1396   config struct in the src/main.c file since certain compilers have that word
1397   "reservered".  I figure that is some kind of C++ decease.
1398
1399 - Updated the curl.1 man page with --interface and --krb4.
1400
1401 - Modified the base64Encode() function to work like the kerberos one, so that
1402   I could remove the use of that. There is no need for *two* base64 encoding
1403   functions! ;-)
1404
1405 Version 7.3pre5
1406
1407 Daniel (19 September 2000)
1408 - The kerberos4-layer source code that is much "influenced" by the original
1409   krb4 source code, through yafc into curl, was using quite a lot of global
1410   variables. libcurl can't work properly with globals like that why I had to
1411   clean up almost every function in the new security.c to make them use
1412   connection specific variables instead of the globals. I just hope I didn't
1413   destroy anything now... :-) configure updated, version string now reflects
1414   krb4 built-in. It almost works now. Only uploads are still being naughty.
1415
1416 Version 7.3pre3
1417
1418 Daniel (18 September 2000)
1419 - Martin Hedenfalk supplied a major patch that introduces krb4-ftp support to
1420   curl. Martin is the primary author of the ftp client named yafc and he did
1421   not hesitate to help us implement this when I asked him. Many and sincere
1422   thanks to a splendid effort. It didn't even take many hours!
1423
1424 - Stephen Kick supplied a big patch that introduces the --interface flag to
1425   the curl tool and CURLOPT_INTERFACE for libcurl. It allows you to specify an
1426   outgoing interface to use for your request. This may not work on all
1427   platforms. This needs testing.
1428
1429 - Richard Prescott noticed that curl on Tru64 unix could core dumped if the
1430   name didn't resolve properly. This was due to the GetHost() function not
1431   returning an error even though it failed on some platforms!
1432
1433 Daniel (15 September 2000)
1434 - Updated all sorts of documents in regards to the new proxytunnel support.
1435
1436 Version 7.3pre2
1437
1438 Daniel (15 September 2000)
1439 - Kai-Uwe Rommel pointed out a problem in the httpproxytunnel stuff for ftp.
1440   Adjusted it. Added better info message when setting up the tunnel and the
1441   pasv message when doing the second connect.
1442   
1443 Version 7.3pre1
1444
1445 Daniel (15 September 2000)
1446 - libcurl now allows "httpproxytunnel" to an arbitrary host and port name. The
1447   second connection on ftp needed that.
1448
1449 - TheArtOfHTTPScripting was corrected all over. I both type and spell really
1450   bad at times!
1451   
1452 Daniel (14 September 2000)
1453 - -p/--proxytunnel was added to 'curl'. It uses the new
1454   CURLOPT_HTTPPROXYTUNNEL libcurl option that allows "any" protocol to tunnel
1455   through the specified http proxy. At the moment, this should work with ftp.
1456
1457 Daniel (13 September 2000)
1458 - Jochen Schaeuble found that file:// didn't work as expected. Corrected this
1459   and mailed the patch to the mailing list.
1460
1461 Daniel (7 September 2000)
1462 - I changed the #define T() in curl.h since it turned out it wasn't really
1463   a good symbol to use (when you compiled PHP with curl as a module, that
1464   define collided with some IMAP define or something). This was posted to the
1465   PHP bug tracker.
1466
1467 - I added extern "C" stuff in two header files to better allow libcurl usage
1468   in C++ sorces. Discussions on the libcurl list with Danny Horswell lead to
1469   this.
1470
1471 Version 7.2.1
1472
1473 Daniel (31 August 2000)
1474 - Albert Chin-A-Young fixed the configure script *again* and now it seems to
1475   detect Linux name resolving properly! (heard that before?)
1476
1477 - Troels Walsted Hansen pointed out that downloading a file containing the
1478   letter '+' from an ftp server didn't work. It did work from HTTP though and
1479   the reason was my lame URL decoder.
1480
1481 - I happened to notice that -I didn't at all work on ftp anymore. I corrected
1482   that.
1483
1484 Version 7.2
1485
1486 Daniel (30 August 2000)
1487 - Understanding AIX is a hard task. I believe I'll never figure out why they
1488   solve things so differently from the other unixes. Now, I'm left with the
1489   AIX 4.3 run-time warnings about duplicate symbols that according to this
1490   article (http://www.geocrawler.com/archives/3/405/1999/9/0/2593428/) is a
1491   libtool flaw. I tried the mentioned patch, although that stops the linking
1492   completely.
1493
1494   So, if I select to ignore the ld warnings there are compiler warnings that
1495   fill the screen pretty bad when curl compiles. It turns out that if I want
1496   to '#include <arpa/inet.h>', I can get tid of the warnings by include the
1497   following three include files before that one:
1498
1499         #include <net/if_dl.h>
1500         #include <sys/mbuf.h>
1501         #include <netinet/if_ether.h>
1502
1503   Now, is it really sane to add those include files before arpa/inet.h in all
1504   the source files that include it?
1505
1506   Thanks to Albert Chin-A-Young at thewrittenword.com who gave me the AIX
1507   login to try everything on.
1508
1509 Daniel (24 August 2000)
1510 - Jan Schmidt supplied us a new VC6 makefile for Windows as the previous one
1511   was not up to date but lacked several object files.
1512
1513 - More work on the naming.
1514
1515 - Albert Chin-A-Young provided a configure-check for large file support, as
1516   some systems seem to need that for them to work. Had to change the position
1517   for the config.h include file in every .c file in the libcurl dir...
1518
1519 - As suggested on the mailing list (by Troy Engel), I did use a --data-binary
1520   option instead of the messy way I've left described below. It seems to
1521   work. The libcurl fix remained the same as yesterday.
1522
1523 Daniel (23 August 2000)
1524 - Back on the -d stripping newlines thing. The 'plain post' thing was added
1525   when I had no thought of that one could actually post binary data with
1526   it. Now, I have to add this functionality in a graceful manner and I think
1527   I've managed to come up with a way: '-d @file;binary' will thus post the
1528   file binary, exactly as its contents are. It is implemented with a new
1529   *setopt() option (CURLOPT_POSTFIELDSIZE) to set the postfield size, since
1530   libcurl can't strlen() the data in these cases.
1531
1532 - Albert Chin-A-Young made some very serious efforts and all the name
1533   resolving problems seem to have been sorted out now on all the platforms
1534   that previously showed them. I'll make another release now anyday because of
1535   this.
1536
1537 - The FAQ was much enhanced when it comes to the licensing issues thanks to
1538   Bjorn Reese.
1539
1540 Daniel (21 August 2000)
1541 - Rick Welykochy pointed out a problem when you use -d to post and you want to
1542   keep the newlines, as curl strips them off as a bonus before posting...
1543   This needs to be addressed.
1544
1545 Version 7.1.1
1546
1547 Daniel (21 August 2000)
1548 - Got more people involved in the gethostbyname_r() mess. Caolan McNamara sent
1549   me configure-code that turned out to be very similar to my existing tests
1550   which only make me more sure I'm on the right path. I changed the order of
1551   the tests slightly, as it seems that some compilers don't yell error if a
1552   function is used with too many parameters. Thus, the first tested function
1553   will seem ok... Let's hope more compilers think of too-few parameters as bad
1554   manners, as we're now trying the functions in that order; fewer first. I
1555   should also add that Lars Hecking mailed me and volunteered to run tests on
1556   a few odd systems. Coalan is keeping his work over at
1557   http://www.csn.ul.ie/~caolan/publink/gethostbyname_r/. Might be handy in the
1558   future as well.
1559
1560 Daniel (18 August 2000)
1561 - I noticed I hadn't increased the name lookup buffer in lib/ftp.c. I don't
1562   think this is the reason for the continued trouble though.
1563
1564 Daniel (17 August 2000)
1565 - Fred Noz corrected my stupid mistakes in the gethostbyname_r() fluff. It
1566   should affect some AIX, Digital Unix and HPUX 10 systems.
1567
1568 Daniel (15 August 2000)
1569 - Mathieu Legare compiled and build 7.1 without errors on both AIX 4.2 as well
1570   as AIX 4.3. Now why did problems occur before?
1571
1572 - Fred Noz reported a -w/--write-out bug that caused it to malfunction when
1573   used combined with multiple URL retrievales. All but the first display got
1574   screwed up!
1575
1576 Daniel (11 August 2000)
1577 - Jason Priebe and an anonymous friend found some host names the Linux version
1578   of curl could not resolve. It turned out the buffer used to retrieve that
1579   information was too small. Fixed. One could argue about the usefulness of
1580   not having the slightest trace of a man page for gethostbyname_r() on my
1581   Linux Redhat installation...
1582
1583 Daniel (10 August 2000)
1584 - Balaji S Rao was first in line to note the missing possibility to replace
1585   the Content-Type: and Content-Length: headers when doing -d posts. I added
1586   the possibility just now. It seems some people wants to do standard posts
1587   using custom Content-Types.
1588
1589 Daniel (8 August 2000)
1590 - Mike Dowell correctly discovered that curl did not approve of URLs with no
1591   user name but password. As in 'http://:foo@haxx.se'. I corrected this.
1592
1593 Version 7.1
1594
1595 Daniel (7 August 2000)
1596 - My AIX 4 fix does not work. I need help from a AIX 4 hacker.
1597
1598 - I added my new document in the docs directory. It is aimed to become a sort
1599   of tutorial on how to do HTTP scripting with curl.
1600
1601 Daniel (4 August 2000)
1602 - Working with Rich Gray on compiling curl for lots of different platforms.
1603   My fix for AIX 3.2 was not good enough and was slightly changed, I had to
1604   move an include file before another, as is now described in the source.
1605
1606   AIX 4.2 (4.X?) has different gethostbyname_r() and gethostbyaddr_r()
1607   functions that the configure script didn't check for and thus the compile
1608   broke with an error. I have now changed the gethostbyname_r() check in the
1609   configure file to support all three versions of both these functions. My
1610   implementation that uses the AIX-style is though not yet verified and I may
1611   get problems to fix it if it turns out to bug since I don't have access to
1612   any system using that.
1613
1614   For problems like that, I made the configure script allow --disable-thread
1615   to completely switch off the check for threadsafe versions of a few
1616   functions and thus go with the "good old versions" that tend to work
1617   although will break thread-safeness for libcurl. Most people won't use
1618   libcurl for other things than curl though, and curl doesn't need a
1619   thread-safe lib.
1620
1621 - Working on my big tutorial about HTTP scripting with curl.
1622
1623 Daniel (1 August 2000)
1624 - Rich Gray spotted a problem in src/setup.h caused by a #define strequal()
1625   that was just a left-over from passed times. The strequal() is now a true
1626   function supplied by libcurl for a portable case insensitive string
1627   comparison. I added the prototypes in include/curl.h and removed the
1628   now obsolete #define.
1629
1630 - Igor Khristophorov made a fix to allow resumed download from Sun's
1631   JavaWebServer/1.1.1. It seems that their server sends bad Content-Range
1632   headers.
1633
1634 - The makefiles forced a static library build, which is bad since we now use
1635   libtool and thus have excellent shared library support! Albert Chin-A-Young
1636   found out.
1637
1638 Version 7.0.11beta
1639
1640 Daniel (1 August 2000)
1641 - Albert Chin-A-Young pointed out that 'make install' did not properly create
1642   the header include directory, why it failed to install the header files as
1643   it should. Automake isn't really equipped to deal with subdirectories
1644   without Makefiles in any nice way. I had to run ahead and add Makefiles in
1645   both include and include/curl before I managed to create a top-level
1646   makefile that succeeds in install everything properly!
1647
1648 - Ok, no more "features" added now. Let's just verify that there's no major
1649   flaws added now.
1650
1651 Daniel (31 July 2000)
1652 - Both Jeff Schasny and Ketil Froyn asked me how to tell curl not to send one
1653   of those internally generated headers. They didn't settle with the blank
1654   ones you could tell curl to use. I rewrote the header-replace stuff a
1655   little. Now, if you replace an internal header with your own and that new
1656   one is a blank header you will only remove the internal one and not get any
1657   blank. I couldn't figure out any case when you want that blank header.
1658
1659 Daniel (29 July 2000)
1660 - It struck me that the lib used localtime() which is not thread-safe, so now
1661   I use localtime_r() in the systems that has it.
1662
1663 - I went through this entire document and removed all email addresses and left
1664   names only. I've really made an effort to always note who brought be bug
1665   reports or fixes, but more and more people ask me to remove the email
1666   addresses since they become victims for spams this way. Gordon Beaton got me
1667   working on this.
1668
1669 Daniel (27 July 2000)
1670 - Jörn Hartroth found out that when you specified a HTTP proxy in an
1671   environment variable and used -L, curl failed in the second fetch. I
1672   corrected this problem and posted a patch to the list. No need for an extra
1673   beta release just for this.
1674
1675 Version 7.0.10beta
1676
1677 Daniel (27 July 2000)
1678 - So, libtool replaced two of my files with symbolic links and I forgot to add
1679   the two new libtool files to the release archive (and they were added as
1680   symlinks as well!) This of course lead to that the configure script failed
1681   on 7.0.9...
1682
1683 Version 7.0.9beta
1684
1685 Daniel (25 July 2000)
1686 - Kristian Köhntopp <kris at koehntopp.de> brought a fix that makes libcurl
1687   libtoolified, just as we've wanted for a while now. He also made the
1688   recently added man pages get installed properly on 'make install' and some
1689   other nice cleanups.
1690
1691 - In a discussion with Eetu Ojanen it struck me that if we use curl to get a
1692   page using a password, and that page then sends a Location: to another
1693   server that curl follows, curl will send the user name and password to that
1694   server as well.
1695
1696   Now, I'll never be able to make curl do Location: following all that perfect
1697   and you're all sooner or later required to write a script to do several
1698   fetches when you're doing advanced stuff, but now I've modified curl to at
1699   least *only* send the user name and password to the original server. Which
1700   means that if get a page from server A with a password, that forwards curl
1701   to server B, curl won't use the password there. If server B then forwards
1702   curl back to server A again, the password will be used again.
1703
1704   This is not a perfect implementation, as in a browser case it would only use
1705   the password if the left-prefix of the first path is the same. I just think
1706   that this fix prevents a somewhat lurky "security hole".
1707
1708   As a side-note in this subject: HTTP passwords are sent in cleartext and
1709   will never be considered to be safe or secure. Use HTTPS for that.
1710
1711 - As discussed on the mailing list, I converted the FTP response reading
1712   function into using select() which then allows timeouts (even under win32!)
1713   if the command-reply session gets too slow or dies completely. I made a
1714   default timeout on 3600 seconds unless anything else is specified, since I
1715   don't think anyone wants to wait more than that for a single character to
1716   get received...
1717
1718 - Torsten Foertsch <torsten.foertsch at gmx.net> brought a set of fixes for
1719   the rfc1867 form posts. He introduced 'name=<file' which brings a means to
1720   suuply very large text chunks read from the given file name. It differs from
1721   'name=@file' in the way that this latter thing is marked in the uploaded
1722   contents as a file upload, while the first is just text (as in a input or
1723   textarea field). Torsten also corrected a bug that would happen if you used
1724   %s or similar in a -F file name.
1725
1726 - As discovered by Nico Baggus <Nico.Baggus at mail.ing.nl>, when transferring
1727   files to/from FTP using type ASCII curl should not expect the transfer to be
1728   the exact size reported by the server as the file size. Since ASCII may very
1729   well mean that the content is translated while transfered, the final size
1730   may very well differ. Therefor, curl now ignores the file size when doing
1731   ASCII transfers in FTP.
1732
1733 Daniel (24 July 2000)
1734 - Added CURLOPT_PROXYPORT to the curl_easy_setopt() call to allow the proxy
1735   port number to be set separately from the proxy host name.
1736
1737 - Andrew <andrew at ugh.net.au> pointed out a netrc manual bug.
1738
1739 - The FTP transfer code now accepts a 250-code as well as the previously
1740   accepted 226, after a successful file transfer. Mohan <mnair at
1741   evergreen-funds.com> pointed this out.
1742
1743 - The check for *both* nsl and socket was never added in the v7 configure.in
1744   when I moved the main branch. I re-added that check to configure.in. This was
1745   discovered by Rich Gray.
1746
1747 - Howard, Blaise <Blaise.Howard at factiva.com> pointed out a missing free() in
1748   curl_disconnect() which of course meant libcurl ate memory.
1749
1750 - Brian E. Gallew noted that the HTTP 'Host:' header curl sent did not
1751   properly include the port number if non-default ports were used. This should
1752   now have been fixed.
1753
1754 - HTTP connect errors now return errors earlier. This was most notably causing
1755   problems when the HTTPS certificate had problems and later caused a crash.
1756   Many thanks to Gregory Nicholls <gnicholls at level8.com> for discovering
1757   and suggesting a fix...
1758
1759 Daniel (21 June 2000)
1760 - After a "bug report" I received where the user was using both -F and -I in a
1761   HTTP request (it severly confused the library I should add), I added some
1762   checks to src/main.c that prevents setting more than one HTTP request
1763   command, no matter what the user wants! ;-)
1764
1765 Version 7.0.8beta
1766
1767 Daniel (20 June 2000)
1768 - I did a major replace in many files to use the new curl domain haxx.se
1769   instead of the previous one.
1770
1771 - As Eetu Ojanen suggested, I finally took the step and now libcurl no longer
1772   makes a POST after it has followed a location. When the initial POST has
1773   been done, it'll turned into a GET for the further requests. This is only
1774   interesting when using -L/--location *and* doing a POST at the same time.
1775
1776   While messing with this, I added another weird feature I call 'auto
1777   referer'. If you append ';auto' to the right of a given referer string (or
1778   only use that string as referer), libcurl will automatically set the
1779   previoud URL as refered when it follows a Location: and gets a succeeding
1780   document.
1781
1782 - My hero Rich Gray found the very obscure FTP bug that happened to him only
1783   when passing through a particular firewall and using the PORT command. It
1784   turned out that PORT was the only command in the lib/ftp.c source that
1785   didn't send a proper \r\n sequence but instead used the faulty \n which as
1786   it seemed is supported by most major ftp servers... :-O
1787
1788 Version 7.0.7beta
1789
1790 Daniel (16 June 2000)
1791 - I had avoided this long enough now, so I moved the alternative progress bar
1792   stuff from the lib and added it to the client code. This is now using the
1793   recently added progress callback and it seems to work pretty much like
1794   before. Since it is only one progress bar and you and download and upload at
1795   the same time, this bar shows the combined progress of both directions. This
1796   code was just ported from the old place to this, Lars is still our saviour!
1797   ;-) This also made the documentation more accurate since I never removed
1798   this function from any docs! Although I now removed the CURLOPT_PROGRESSMODE
1799   from the library since the lib has only one internal progress meter and it
1800   will never get another. It is although likely that the internal one also
1801   will be moved to the client code in the future (when I have other means of
1802   getting the writeout data and move that too to the client).
1803
1804 - I took the opportunity to verify that standard progress meter works and I
1805   found out it didn't get inited properly. Grrr. I corrected that as well.
1806
1807 Daniel (15 June 2000)
1808 - I thought I'd better verify that the -F option still works in v7 and of
1809   course it didn't... :-/ Anyway, I had the problems I could discover
1810   corrected. About one month of beta testing and not a single person has used
1811   this feature with v7?
1812
1813 - Björn correctly pointed out that the --progress-bar still doesn't work in
1814   v7. Hm.
1815
1816 Daniel (14 June 2000)
1817 - Tim Tassonis discovered that curl 7 didn't handle normal http POST as it
1818   should. I corrected this.
1819
1820 Version 7.0.6beta
1821
1822 Daniel (14 June 2000)
1823 - Björn Stenberg pointed out several problems (related to win32 compiling):
1824   lib/strequal.c had a bad #ifdef for one of the string comparisons (win32)
1825   src/main.c had several minor problems
1826   lib/makefile.m32 had getpass.[co] twice
1827   src/config-win32.h lacked the HAVE_FCNTL_H define
1828   both config-win32.h files now only set the HAVE_UNISTD_H define if the
1829   define MINGW32 is set, and I modified src/makefile.m32 and lib/makefile.m32
1830   to set it.
1831
1832 Version 7.0.5beta
1833
1834 Daniel (14 June 2000)
1835 - Applied Luong Dinh Dung's comments about a few win32 compile problems.
1836
1837 - Applied Björn Stenberg's suggested fix that turns the win32 stdout to
1838   binary. It won't do it if the -B / --use-ascii option is used. That option
1839   is now an extended version of the previous -B /--ftp--ascii. The flag was
1840   already in use be the ldap as well so the new name fits pretty good. The
1841   libcyrl CURLOPT_TRANSFERTEXT was also introduced as an alias to the now
1842   obsolete CURLOPT_FTPASCII. Can't verify this fix myself as I have no win32
1843   compiler around.
1844
1845 Daniel (13 June 2000)
1846 - Luong Dinh Dung <dung at sch.bme.hu> found a problem in curl_easy_cleanup()
1847   since it free()ed the main curl struct *twice*. This is now corrected.
1848
1849 Daniel (9 June 2000)
1850 - Updated the RESOURCES file, added a README.win32 file.
1851
1852 Daniel (8 June 2000)
1853 - So I finally added the progress callback to the *setopt() options and it
1854   should work now. I don't have the energy to write any test program for it
1855   right now.
1856 - Made the callback function typedefs public in curl/curl.h for comfort. Just
1857   in case anyone wanna fiddle with such pointers.
1858 - Updated the curl_easy_setopt() man page accordingly.
1859
1860 Version 7.0.4beta
1861
1862 Daniel (2 June 2000)
1863 - I noticed that when doing Location: following, we lost custom headers in all
1864   but the first request.
1865 - Removed the 'HttpPost' struct and moved the header stuff to the more generic
1866   curl_slist.
1867 - Added some better slist-cleanups in src/main.c
1868
1869 Version 7.0.3beta
1870
1871 Daniel (31 May 2000)
1872 - So I discovered that I released the 7.0.2beta without it being able to
1873   compile under Linux. gethostbyname_r() and gethostbyaddr_r() turned out to
1874   feature a different amount of arguments on different systems so I had to add
1875   a configure check for this and adjust the code slightly.
1876
1877 Version 7.0.2beta
1878
1879 Daniel (29 May 2000)
1880 - Corrected the bits.* assignments when using CURLOPT options that only
1881   toggles one of those bits.
1882
1883 - Applied the huge patches from David LeBlanc <dleblanc at qnx.com> that add
1884   usage of the gethostbyname_r() and similar functions in case they're around,
1885   since that make libcurl much better threadsafe in many systems (such as
1886   solaris). I added the checks for these functions to the configure script.
1887
1888   I can't explain why, but the inet_ntoa_r() function did not appear in my
1889   Solaris include files, I had to add my own include file for this for now.
1890
1891 Daniel (22 May 2000)
1892 - Jörn Hartroth brought me fixes to make the win32 version compile properly as
1893   well as a rename of the 'interface' field in the urldata struct, as it seems
1894   to be reserved in some gcc versions!
1895
1896 - Rich Gray struck back with yet some portability reports. Data General DG/UX
1897   needed a little fix in lib/ldap.c since it doesn't have RTLD_GLOBAL defined.
1898   More fixes are expected as a result of Richies very helpful work.
1899
1900 Version 7.0.1beta
1901
1902 Daniel (21 May 2000)
1903 - Updated lots of #defines, enums and variable type names in the library. No
1904   more weird URG or URLTAG prefixes. All types and names should be curl-
1905   prefixed to avoid name space clashes. The FLAGS-parameter to the former
1906   curl_urlget() has been converted into a bunch of flags to use in separate
1907   setopt calls. I'm still focusing on the easy-interface, as the curl tool is
1908   now using that.
1909
1910 - Bjorn Reese has provided me with an asynchronous name resolver that I plan
1911   to use in upcoming versions of curl to be able to gracefully timeout name
1912   lookups.
1913
1914 Version 7.0beta
1915
1916 Daniel (18 May 2000)
1917 - Introduced LIBCURL_VERSION_NUM to the curl.h include file to better allow
1918   source codes to be dependent on the lib version. This define is now set to
1919   a dexadecimal number, with 8 bits each for major number, minor number and
1920   patch number. In other words, version 1.2.3 would make it 0x010203. It also
1921   makes a larger number a newer version.
1922
1923 Daniel (17 May 2000)
1924 - Martin Kammerhofer correctly pointed out several flaws in the FTP range
1925   option. I corrected them.
1926 - Removed the win32 winsock init crap from the lib to the src/main.c file
1927   in the application instead. They can't be in the lib, especially not for
1928   multithreaded purposes.
1929
1930 Daniel (16 May 2000)
1931 - Rewrote the src/main.c source to use the new easy-interface to libcurl 7.
1932   There is still more work to do, but the first step is now taken.
1933   <curl/easy.h> is the include file to use.
1934
1935 Daniel (14 May 2000)
1936 - FTP URLs are now treated slightly different, more according to RFC 1738.
1937 - FTP sessions are now performed differently, with CWD commands to change
1938   directory instead of RETR/STOR/LIST with the full path. Discussions with
1939   Rich Gray made me notice these problems.
1940 - Janne Johansson discovered and corrected a buffer overflow in the
1941   src/usrglob.c file.
1942 - I had to add a lib/strequal.c file for doing case insensitive string
1943   compares on all platforms.
1944
1945 Daniel (8 May 2000):
1946 - Been working lots on the new lib.
1947 - Together with Rich Gray, I've tried to adjust the configure script to work
1948   better on the NCR MP-RAS Unix.
1949
1950 Daniel (2 May 2000):
1951 - Albert Chin-A-Young pointed out that I had a few too many instructions in
1952   configure.in that didn't do any good.
1953
1954 Daniel (24 April 2000):
1955 - Added a new paragraph to the FAQ about what to do when configure can't
1956   find OpenSSL even though it is installed. Supplied by Bob Allison
1957
1958 Daniel (12 April 2000):
1959 - Started messing around big-time to convert the old library interface to a
1960   better one...
1961
1962 Daniel (8 April 2000):
1963 - Made the progress bar look better for file sizes between 9999 kilobytes
1964   and 100 megabytes. They're now displayed XX.XM.
1965 - I also noticed that ftp fetches through HTTP proxies didn't add the user
1966   agent string. It does now.
1967 - Habibie <habibie at MailandNews.com> supplied a pretty good way to build RPMs
1968   on a Linux machine. It still a) requires me to be root to do it, b) leaves
1969   the rpm packages laying at some odd place on my disk c) doesn't work to
1970   build the ssl version of curl since I didn't install openssl from an rpm
1971   package so now the rpm crap thinks I don't have openssl and refuses to build
1972   a package that depends on ssl... Did I mention I don't get along with RPM?
1973 - Once again I received a bug report about autoconf not setting -L prior to -l
1974   on the command line when checking for libs. In this case it made the native
1975   cc compiler on Solaris 7 to fail the OpenSSL check. This has previously been
1976   reported to cause problems on HP-UX and is a known flaw in autoconf 2.13. It
1977   is a pity there's no newer release around...
1978
1979 Daniel (4 April 2000):
1980 - Marco G. Salvagno supplied me with two fixes that
1981   appearantly makes the OS/2 port work better with multiple URLs.
1982
1983 Daniel (2 April 2000):
1984 - Another Location: fix. This time, when curl connected to a port and then
1985   followed a location with an absolute URL to another port, it misbehaved.
1986
1987 Daniel (27 March 2000):
1988 - H. Daphne Luong pointed out that curl was wrongly
1989   messing up the proxy string when fetching a document through a http proxy,
1990   which screwed up multiple fetches such as in location: followings.
1991
1992 Daniel (23 March 2000):
1993 - Marco G. Salvagno corrected my badly applied patch he
1994   actually already told me about!
1995
1996 - H. Daphne Luong brought me a fix that now makes curl
1997   ignore select() errors in the download if errno is EINTR, which turns out to
1998   happen every now and then when using libcurl multi-threaded...
1999
2000 Daniel (22 March 2000):
2001 - Wham Bang supplied a couple of win32 fixes. HAVE_UNAME
2002   was accidentally #defined in config-win32.h, which it shouldn't have been.
2003   The HAVE_UNISTD_H is not defined when compiling with the Makefile.vc6
2004   makefile for MS VC++.
2005
2006 Daniel (21 March 2000):
2007 - I removed the AC_PROG_INSTALL macro from configure.in, since it appears that
2008   one of the AM_* macros searches for a BSD compatible install already. Janne
2009   Johansson made me aware of this.
2010
2011 Version 6.5.2
2012
2013 Daniel (21 March 2000):
2014 - Paul Harrington quickly pointed out to me that 6.5.1
2015   crashes hard. I upload 6.5.2 now as quickly as possible! The problem was
2016   the -D adjustments in src/main.c.
2017
2018 Version 6.5.1
2019
2020 Daniel (20 March 2000):
2021 - An anonymous post on sourceforge correctly pointed out a possible buffer
2022   overflow in the curl_unescape() function for URL conversions. The main
2023   problem with this bug is that the ftp download uses that function and this
2024   single- byte overflow could lead to very odd bugs (as one reported by Janne
2025   Johansson).
2026
2027 Daniel (19 March 2000):
2028 - Marco G. Salvagno supplied me with a series of patches
2029   that now allows curl to get compiled on OS/2. It even includes a section in
2030   the INSTALL file. Very nice job!
2031
2032 Daniel (17 March 2000):
2033 - Wham Bang supplied a patch for the lib/Makefile.vc6
2034   file. We still need some fixes for the config-win32.h since it appears that
2035   VC++ and mingw32 have different opinions about (at least) unistd.h's
2036   existence.
2037
2038 Daniel (15 March 2000):
2039 - I modified the -D/--dump-header workings so that it doesn't write anything
2040   to the file until it needs to. This way, you can actually use -b and -D
2041   on the same file if you want repeated invokes to store and read the cookies
2042   in that one single file.
2043
2044 - Poked around in lots of texts. Added the BUGS file for bug reporting stuff.
2045   Added the classic HTTP POST question to the FAQ, removed some #ifdef WIN32
2046   stuff from the sources (they're covered by the config-win32.h now).
2047
2048 - Pascal Gaudette fixed a missing ldap.c problem in the
2049   Makefile.vc6 file. He also addressed a problem in src/config-win32.h.
2050
2051 Daniel (14 March 2000):
2052 - Paul Harrington pointed out that the 'http_code' variable in the -w output
2053   was never written. I fixed it now.
2054
2055 - Janne Johansson reported the complaints that OpenBSD does
2056   when getdate.c #includes malloc.h. It claims stdlib.h should be included
2057   instead. I added #ifdef HAVE_MALLOC_H code in getdate.y and two checks in
2058   the configure.in for malloc.h and stdlib.h.
2059
2060 Version 6.5
2061
2062 Daniel (13 March 2000):
2063 - <curl at spam.wolvesbane.net> pointed out that the way curl sent cookies in a
2064   single line wasn't enjoyed by IIS4.0 servers. In my view, that is not what
2065   the standards say, but I added a white space between the name/value pairs to
2066   perhaps make them work better.
2067
2068 - Added the perl check back in the configure.in again since the mkhelp.pl
2069   script needs it!
2070
2071 - Made some beautifications in the curl man page.
2072
2073 Daniel (3 March 2000):
2074 - Jörn helped me update the config-win32.h files with HAVE_SETVBUF and
2075   HAVE_STRDUP.
2076
2077 Daniel (3 March 2000):
2078 - Uploaded the 6.5pre2 package.
2079
2080 Daniel (2 March 2000):
2081 - Removed the perl-programs from the distribution, they never made many people
2082   happy and I'll still keep them available on the web.
2083
2084 - Added the -w and -N stuff to the man page. Documented the new progress meter
2085   display in README.curl.
2086
2087 - Jörn Hartroth, Chris <cbayliss at csc.come> and Ulf
2088   Möller from the openssl development team helped bringing me the details for
2089   fixing an OpenSSL usage flaw. It became apparent when they released openssl
2090   0.9.5 since that barfed on curl's bad behavior (not seeding a random number
2091   thing).
2092
2093 - Yet another option: -N/--no-buffer disables buffering in the output stream.
2094   Probably most useful for very slow transfers when you really want to get
2095   every byte curl receives within some preferred time. Andrew <tmr at gci.net>
2096   suggested this.
2097
2098 - Damien Adant mailed me his fixes for making curl compile on Ultrix.
2099
2100 Daniel (24 February 2000):
2101 - Applied Jörn Hartroth's fixes for config-win32.h and lib/Makefile.w32.
2102
2103   I should also make a note here, if nothing else to myself, that when using
2104   the %-syntax for variables in DOS command prompts, you must use two %-
2105   letters for each one since that is an escape letter there! Maybe I should
2106   use another letter instead!
2107
2108 - Added more variables to -w:
2109
2110   'http_code'
2111   'time_namelookup'
2112   'time_connect'
2113   'time_pretransfer'
2114   'url_effective'
2115
2116 - Made -w@filename read the syntax from a file and -w@- reads the syntax from
2117   stdin in the good old "standard" curl way.
2118
2119 Daniel (22 February 2000):
2120 - Released a 6.5pre1 version to get some test and user feedback.
2121
2122 Daniel (21 February 2000):
2123
2124 - I added the -w/--write-out flag and some variables to go with it. -w is a
2125   single string, whatever you enter there will be written out when curl has
2126   completed a successful request. There are some variable substitutions and
2127   they are specified as '%{variable}' (without the quotes). Variables that
2128   exist as of this moment are:
2129
2130         total_time     - total transfer time in seconds (with 2 decimals)
2131         size_download  - total downloaded amount of bytes
2132         size_upload    - total uploaded amount of bytes
2133         speed_download - the average speed of the entire download
2134         speed_upload   - the average speed of the entire upload
2135
2136   I will of course add more variables, but I need input on these and others.
2137
2138 - It struck me that the -# progress bar will be hard to just apply on the new
2139   progress bar concept. I need some feedback on this before that'll get re-
2140   introduced! :-/
2141
2142 Daniel (16 February 2000):
2143 - Jörn Hartroth brought me some fixes for the progress meter and I continued
2144   working on it. It seems to work for http download, http post, ftp download
2145   and ftp upload. It should be a pretty good test it works generally good.
2146
2147 - Still need to add the -# progress bar into the new style progress interface.
2148
2149 - Gonna have a go at my new output option parameter next.
2150
2151 Daniel (15 February 2000):
2152 - The progress meter stuff is slowly taking place. There's more left before it
2153   is working ok and everything is tested, but we're reaching there. Slowly!
2154
2155 Daniel (11 February 2000):
2156 - Paul Marquis fixed the config file parsing of curl to
2157   deal with any-length lines, removing the previous limit of 4K.
2158
2159 - Eetu Ojanen's suggestion of supporting the @-style for -b
2160   is implemented. Now -b@<filename> works as well as the old style. -b@- also
2161   similarly reads the cookies from stdin.
2162
2163 - Reminder: -D should not write to the file until it needs to, in the same way
2164   -o does. That would enable curl to use -b and -D on the same file...
2165
2166 - Ellis Pritchard made getdate.y work for MacOS X.
2167
2168 - Paul Harrington helped me out finding the crash in the
2169   cookie parser. He also pointed out curl's habit of sending empty cookies to
2170   the server.
2171
2172 Daniel (8 February 2000):
2173  - Ron Zapp corrected a problem in src/urlglob.c that
2174    prevented curl from getting compiled on sunos 4. The problem had to do
2175    with the difference in sprintf() return code types.
2176
2177  - Transfer() should now be able to download and upload simultaneously. Let's
2178    do some progress meter fixes later this week.
2179
2180 Daniel (31 January 2000):
2181  - Paul Harrington found another core dump in the cookie
2182    parser. Curl doesn't properly recognize the 'version' keyword and I think
2183    that is what caused this. I need to refresh some specs on cookies and see
2184    what else curl lacks to improve this a bit more once and for all.
2185
2186    RFC 2109 clearly specifies how cookies should be dealt with when they are
2187    compliant with that spec. I don't think many servers are though...
2188
2189  - Mark W. Eichin found that while curl is uploading a form
2190    to a web site, it doesn't read incoming data why it'll hang after a while
2191    since the socket "pipe" becomes full.
2192
2193    It took me two hours to rewrite Download() and Upload() into the new
2194    single function Transfer(). It even seems to work! More testing is required
2195    of course... I should get the header-sending together in a kind of queue
2196    and let them get "uploaded" in Transfer() as well.
2197
2198  - Zhibiao Wu pointed out a curl bug in the location: area,
2199    although I did not get a reproducible way to do this why I have to wait
2200    with fixing anything.
2201
2202  - Bob Schader suggested I should implement resume
2203    support for the HTTP PUT operation, and as I think it is a valid suggestion
2204    I'll work on it.
2205
2206 Daniel (25 January 2000):
2207  - M Travis Obenhaus pointed out a manual mixup with -y and -Y that was
2208    corrected.
2209
2210  - Jens Schleusener pointed out a problem to compile
2211    curl on AIX 4.1.4 and gave me a solution. This problem was already fixed
2212    by Jörn's recent #include modifications!
2213
2214 Daniel (19 January 2000):
2215  - Oskar Liljeblad pointed out and corrected a problem
2216    in the Location: following system that made curl following a location: to a
2217    different protocol to fail.
2218
2219    At January 31st I re-considered this fix and the surrounding source code. I
2220    could not really see that the patch did any difference, why I removed it
2221    again for further research and debugging. (It disabled location: following
2222    on server not running on default ports.)
2223
2224  - Jörn Hartroth brought a fix that once again
2225    made it possible to select progress bar.
2226
2227  - Jörn also fixed a few include problems.
2228
2229 Version 6.4
2230
2231 Daniel (17 January 2000):
2232  - Based on suggestions from Björn Stenberg, I made the
2233    progress deal better with larger files and added a "Time" field which shows
2234    the time spent on the download so far.
2235  - I'm now using the CVS repository on sourceforge.net, which also allows web
2236    browsing. See http://curl.haxx.nu.
2237
2238 Daniel (10 January 2000):
2239  - Renumbered some enums in curl/curl.h since tag number 35 was used twice!
2240  - Added "postquote" support to the ftp section that enables post-ftp-transfer
2241    quote commands.
2242  - Now made the -Q/--quote parameter recognize '-' as a prefix, which means
2243    that command will be issued AFTER a successful ftp transfer. This can of
2244    course be used to delete or rename a file after it has been uploaded or
2245    downloaded. Use your imagination! ;-)
2246  - Since I do the main development on solaris 2.6 now, I had to download and
2247    install GNU groff to generate the hugehelp.c file. The solaris nroff cores
2248    on the man page! So, in order to make the solaris configure script find a
2249    better result I made gnroff get checked prior to the regular nroff.
2250  - Added all the curl exit codes to the man page.
2251  - Jim Gallagher properly tracked down a bug in autoconf
2252    2.13. The AC_CHECK_LIB() macro wrongfully uses the -l flag before the -L
2253    flag to 'ld' which causes the HP-UX 10.20 flavour to fail on all libchecks
2254    and therefore you can't make the configure script find the openssl libs!
2255