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