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