The error buffer was not getting filled when Curl_wait_for_resolv() fails.
[platform/upstream/curl.git] / CHANGES
1                                   _   _ ____  _     
2                               ___| | | |  _ \| |    
3                              / __| | | | |_) | |    
4                             | (__| |_| |  _ <| |___ 
5                              \___|\___/|_| \_\_____|
6
7                                   Changelog
8
9 Daniel (19 August)
10 - I made curl support multiple -T options, as well as -T "{file1,file2}"
11   style globbing. One -T for each URL is supported.
12
13 - Jeff Pohlmeyer found a segfault when using ares-enabled libcurl and the
14   multi interface when trying a non-existing host name. Now 
15
16 - Made the libcurl printf code support long longs if available.
17
18 - Loren Kirkby pointed out that we did not clean up all SSL-allocated memory
19   in curl_global_cleanup().
20
21 Daniel (17 August)
22 - Setting CURLOPT_WRITEFUNCTION or CURLOPT_READFUNCTION to NULL will now make
23   them get the internal defaults restored. Previously this could cause a
24   segfault.
25
26 Version 7.10.7 (15 August 2003)
27
28 Daniel (14 August)
29 - I modified the memdebug system to return failure on memory allocation
30   functions after a set amount of successful ones. This enables us to test
31   out-of-memory situations in a controlled manner and we can make sure that
32   curl/libcurl behaves good in those.
33
34   This made me find and fix several spots where we did not cleanup properly
35   when bailing out due to errors (low memory).
36
37 - Corrected test case 74. Made using -o with bad #[num] codes complain and
38   bail out. Made #[num] support numbers larger than 9 as well. Added test
39   case 86 for a proper range globbing test as well.
40
41 Version 7.10.7-pre4 (12 August 2003)
42
43 Daniel (12 August)
44 - curl_version_info() now returns a flag if libcurl was built with asynch DNS
45   support, and this is now also displayed with 'curl -V'.
46
47 - Added a few new man pages to the docs/libcurl dir: curl_share_init,
48   curl_share_setopt, curl_share_cleanup, libcurl-easy and libcurl-share.
49
50 Daniel (11 August)
51 - Mike Cherepov made the local binding code work for Windows, which makes
52   the option CURLOPT_INTERFACE work on Windows as well.
53
54 - Vincent Sanders updated the fopen.c example code a lot.
55
56 - --proxy-ntlm is now supported by the curl tool. It forces the proxy
57   authentication to be made using NTLM. It does not yet work for HTTPS over
58   proxies (or other proxy-tunneling options). Test case 81 and 82 do some
59   simple initial ntlm testing.
60
61 - Found and fixed a minor memory leak on re-used connections with
62   proxy-authentication.
63
64 - I removed -@ and -Z as valid short options. They were very rarely used (@
65   wasn't even documented).
66
67 - Serge Semashko introduced CURLOPT_PROXYAUTH, and make it work when set to
68   CURLAUTH_NTLM and/or CURLAUTH_BASIC. The PROXAUTH is similar to HTTPAUTH,
69   but is for the proxy connection only, and HTTPAUTH is for the remote host.
70
71 - Fixed loading of cookies with blank contents from a cookie jar. Also made the
72   cookie functions inform on added and skipped cookies (for cookie debugging).
73
74 Version 7.10.7-pre3 (8 August 2003)
75
76 Daniel (8 August)
77 - Applied David Byron's fix for file:// URLs with drive letters included.
78
79 - I added the --ftp-create-dirs to the client code, which activates Early's
80   CURLOPT_FTP_CREATE_MISSING_DIRS option, and wrote test case 147 to verify
81   it. Added the option to the curl.1 man page too. Added the option to the
82   curl_easy_setopt.3 man page too.
83
84 Daniel (7 August)
85 - Test case 60 failed on ia64 and AMD Opteron. Fixed now.
86
87 - Fixed a printf problem that resulted in urlglobbing bugs (bug #203827 in the
88   debian bug tracker). Added test case 74 to verify the fix and to discover if
89   this breaks in the future.
90
91 - "make distcheck" works again.
92
93 Version 7.10.7-pre2 (6 August 2003)
94
95 Daniel (5 August)
96 - Duncan Wilcox helped me verify that the latest incarnation of my ares patch
97   builds fine on Mac OS X (see the new lib/README.ares) file for all details.
98
99 - Salvatore Sorrentino filed bug report #783116 and Early Ehlinger posted a
100   bug report to the libcurl list, both identifying a problem with FTP
101   persitent connections and how the dir hiearchy was not properly reset
102   between files.
103
104 - David Byron's thoughts on a fixed Makefile in tests/ were applied.
105
106 - Jan Sundin reported a case where curl ignored a cookie that browsers don't,
107   which turned up to be due to the number of dots in the 'domain'. I've now
108   made curl follow the the original netscape cookie spec less strict on that
109   part.
110
111 Daniel (4 August)
112 - Dirk Manske added cookie support for the experimental, hidden and still
113   undocumented share feature!
114
115 - Mark Fletcher provided an excellent bug report that identified a problem
116   with FOLLOWLOCATION and chunked transfer-encoding, as libcurl would not
117   properly ignore the body contents of 3XX response that included the
118   Location: header.
119
120 Early (6 August)
121 - Added option CURLOPT_FTP_CREATE_MISSING_DIRS
122     This option will force the target file's path to be created if it
123     does not already exist on the remote system.
124  
125   Files affected:
126     - include/curl/curl.h
127         Added option CURLOPT_FTP_CREATE_MISSING_DIRS
128     - lib/ftp.c
129         Added function ftp_mkd, which issues a MKD command
130         Added function ftp_force_cwd, which attempts a CWD,
131           and does a MKD and retries the CWD if the original CWD
132           fails
133         Modified ftp_perform() to call its change directory function
134           through a pointer.  The pointer points to ftp_cwd by default,
135           and is modified to point to ftp_force_cwd IFF
136           data->set.ftp_create_missing_dirs is not 0.        
137     - lib/url.c
138         Modified Curl_setopt to recognize CURLOPT_FTP_CREATE_MISSING_DIRS
139     - lib/urldata.h
140         Added ftp_create_missing_dirs to struct UserDefined
141        
142 - Minor Bugfix for CURLOPT_TIMECONDITION with FTP - if the file was not
143   present to do the time comparison, it would fail.
144   Files affected:
145     - lib/ftp.c
146         In ftp_perform(), the call to ftp_getfiletime() used to be followed
147         by
148           if (result)
149             return result;
150         And then by the code that actually did the time comparison.
151         The code that did the comparison handled the case where the filetime
152         was not available (as indicated by info.filetime < 0 or set.timevalue 
153         < 0), so I replaced the if (result) return result with a switch(result)
154         that allows CURLE_FTP_COULDNT_RETR_FILE to fall through to the 
155         normal time comparison.
156
157 Daniel (3 August)
158 - When proxy authentication is used in a CONNECT request (as used for all SSL
159   connects and otherwise enforced tunnel-thru-proxy requests), the same
160   authentication header is also wrongly sent to the remote host.
161
162   This is a rather significant info leak. I've fixed it now and mailed a patch
163   and warning to the mailing lists.
164
165 Daniel (1 August)
166 - David Byron provided a patch to make 7.10.6 build correctly with the
167   compressed hugehelp.c source file.
168
169 Version 7.10.7-pre1 (31 July 2003)
170
171 Daniel (30 July)
172 - Jörg Müller-Tolk updated the VC makefile.
173
174 - Daniel Noguerol made the ftp code output "Accept-Ranges: bytes" in similar
175   style like other faked HTTP headers when NOBODY and HEADER are used. I
176   updated two corresponding test cases too.
177
178 - Marty Kuhrt pointed out a compilation problem on VMS due to my having
179   changed a type from long to time_t, and I'm now changing it back to work
180   more portably...
181
182   He also indicated that distributing the src/hugehelp.c in a compressed state
183   like I acccidentally did may not be the smartest move... I've now fixed the
184   distribute procudere to automaticly generate an uncompressed version when I
185   make release archives.
186
187 Daniel (29 July)
188 - Gisle Vanem brought changes to the mkhelp script for the generation of the
189   compressed help text on some platforms.
190
191 Version 7.10.6 (28 July 2003)
192
193 Daniel (28 July)
194 - François Pons brought a patch that once again made curl deal with ftp and
195   "double slash" as indicating the root directory. In the RFC1738-fix of April
196   30, that ability was removed (since it is not the "right" way). So, starting
197   now we can list the root dir of an ftp server both these ways:
198
199     curl ftp://server.com/%2f  as well as
200     curl ftp://server.com//
201
202 Daniel (24 July)
203 - Henry Bland pointed out that we included sys/resource.h without good reason
204   in several source files. Without it included, QNX builds better...
205
206 - Andrés García updated the mingw makefiles.
207
208 Daniel (23 July)
209 - Tracy Boehrer experienced DNS cache problems and did some nice debugging
210   and tracking which made it easy for me to correct the problem and Tracy
211   could verify that it did cure the problem! When re-using a connection we
212   now make sure we don't re-use the 'connect_addr' struct.
213
214 - Daniel Kouril corrected the GSS-Negotiate code.
215
216 - Juan F. Codagnone provided fixes to allow curl to build fine on Windows
217   again.
218
219 Daniel (22 July)
220 - Edited the curl/curl.h include file to build on Windows properly.
221
222 Daniel (21 July)
223 - Moved the proxy credentials from the SessionHandle struct to the connectdata
224   struct, to make multiple proxy connections with differerent user names work.
225
226 - Adjusted the NTLM code to support proxy functionality.
227
228 - Made the krb4 stuff compile with the user+password fields moved.
229
230 Version 7.10.6-pre4 (21 July 2003)
231
232 Daniel (20 July)
233 - David Gardner pointed out in bug report 770755 that using the FTP command
234   CWD with a blank argument is a bad idea and I made libcurl skip empty path
235   segments starting now.
236
237 Daniel (18 July)
238 - Cris pointed out that my fix on July 16th didn't work fully. His pointing
239   out this (and his patch) also made me realize that we have a very similar
240   bug in the FTP connection re-use code. We must store a separate user and
241   password field for each connection we keep (at least for FTP and HTTP+NTLM
242   connections, so I made us do this unconditionally).
243
244 - Since NTLM authenticates connections instead of single requests, I had to
245   re-arrange how we store the NTLM data and I had to improve the test suite to
246   finally work properly with persistancy to make the NTLM tests run fine
247   again. This also forced me to have to update lots of HTTP test cases.
248
249 Daniel (16 July)
250 - Cris Bailiff's bug report 768275 pointed out that using Basic auth with
251   wrong user+password caused an endless loop. Fixed now. He also found out that
252   we didn't properly authenticate connections with NTLM. Fixed too.
253
254 - Dan Winship provided fixes for the NTLM code.
255
256 Daniel (5 July)
257 - Doug Kaufman provided additional fixes for the DOS port.
258
259 Daniel (4 July)
260 - Rick Richardson pointed out that using setvbuf() to achive non-buffering
261   on output is no-good for SCO Xenix and other unixes. We switched over to
262   using plain fflush() instead.
263
264 - Dan Grayson pointed out that we set the CURL_CA_BUNDLE variable wrongly in
265   the configure script, and I had to change some build stuff to make the new
266   way work.
267
268 - Peter Sylvester's patch was applied that introduces the following:
269
270    CURLOPT_SSL_CTX_FUNCTION to set a callback that gets called with the
271    OpenSSL's ssl_ctx pointer passed in and allow a callback to act on it. If
272    anything but CURLE_OK is returned, that will also be returned by libcurl
273    all the way back. If this function changes the CURLOPT_URL, libcurl will
274    detect this and instead go use the new URL.
275
276    CURLOPT_SSL_CTX_DATA is a pointer you set to get passed to the callback set
277    with CURLOPT_SSL_CTX_FUNCTION.
278
279 Daniel (1 July)
280 - David Byron provided a patch that allows a client to quit the test suite's
281   HTTP server.
282
283 - Gisle Vanem found and patched a lib handle leak in the ldap code.
284
285 Daniel (25 June)
286 - More NTLM-improvements. Less code. Smaller packets back and forth.
287
288 Daniel (23 June)
289 - Eric Glass provided us with a better doc on NTLM details, and I added more
290   comments and clarified the current code more. Using the new knowledge, we
291   should be able to make the NTLM stuff work even better.
292   Eric's original URL: http://davenport.sourceforge.net/ntlm.html
293   Version stored and provided at curl site: http://curl.haxx.se/rfc/ntlm.html
294
295 - Fixed the minor compile problems pre3 had if built without GSSAPI and/or
296   SSL.
297
298 Version 7.10.6-pre3 (19 June 2003)
299
300 Daniel (19 June)
301 - Made curl use curl_free() on memory returned by curl_getenv(), as this
302   should theoreticly make it possibly to build and run curl and libcurl with
303   different memory allocation schemes with no problems.
304
305 Daniel (18 June)
306 - Improved the mkhelp.pl a bit further to make a nicer hugehelp text and to
307   include a better comment in the top for the gzip compressed version.
308
309 Daniel (17 June)
310 - CURLOPT_HTTPAUTH is now a bitmask, in which you set which authentication
311   type(s) you want to use. If more than one is set, libcurl will use one of
312   the selected one and the one it considers is more secure. Test case 67 and
313   68 (for NTLM) were fixed and we've reduced a round-trip for specific --ntlm
314   featches, and test case 69 and 70 were added for testing authentication
315   "picking". --anyauth is the new command line tool option, and I also added
316   --basic for completeness (that's the default type).
317
318 - Fixed the runtests.pl script to use the info provided by the new curl -V
319   output.
320
321 - --enable-debug now sets the CURLDEBUG define instead of MALLOCDEBUG, as it
322   is meant to be a generic debug conditional.
323
324 - curl_version_info() can now return CURL_VERSION_DEBUG as a feature bit, to
325   indicate that the library was built with CURLDEBUG set.
326
327 - Ralph Mitchell found out that some web applications very badly uses white
328   spaces in Location: redirects, and apparently IE is a browser (the only
329   one?) that supports this abomination. Based on Ralph's patch, I added code
330   that now attempts to replace white spaces with the proper "%20" or "+".
331   Test case 40 and 42 were added to verify my changes.
332
333 - curl -V now also outputs a list of features the available library offers (if
334   any).
335
336 - The curl_version() string now includes "GSS" if libcurl is built with GSSAPI
337   support.
338
339 - David Orrell reported that libcurl still crashed when sending HUGE requests
340   over HTTPS... I fixed.
341
342 Version 7.10.6-pre2 (16 June 2003)
343
344 Daniel (16 June)
345 - curl_version_info() now returns bitmasked information weather NTLM and
346   GSSNEGOTIATE are supported, since it is doomed to vary on different
347   installatiions.
348
349 - I remade the HTTP Digest code to use the MD5-code provided by OpenSSL if
350   that is present, and only use our own MD5-code if it isn't.
351   
352 Daniel (13 June)
353 - More NTLM help, fixes and patches from Cris Bailiff.
354
355 - Marty Kuhrt brought include fixes for making VMS builds warning-free.
356
357 Daniel (12 June)
358 - NTLM authentication works somewhat against the test servers provided by
359   Mathias Axelsson and Cris Bailiff. Use by setting CURLOPT_HTTPAUTH to
360   CURLAUTH_NTLM to libcurl, or --ntlm for the curl tool. Test case 67 and 68
361   were added for this. NTLM-support requires OpenSSL.
362
363 - Dan Fandrich provided a patch, that granted that gzip and libz are available
364   at build-time, compresses the hugehelp text in the curl command line and
365   uncompresses it at request. Saves some ~60K in the final output executable.
366
367 Daniel (11 June)
368 - Long day of fighting the NTLM demons.
369
370 Daniel (10 June)
371 - Modified how to set auth type to libcurl. Now use CURLOPT_HTTPAUTH instead,
372   and pick method. Supported ones currently are:
373   CURLAUTH_BASIC     - default selection
374   CURLAUTH_DIGEST    - formerly CURLOPT_HTTPDIGEST
375   CURLAUTH_GSSNEGOTIATE
376
377 - Daniel Kouril added HTTP GSS-Negotiate authentication support, as defined in
378   the IETF draft draft-brezak-spnego-http-04.txt. In use already by various
379   Microsoft web applications. --negotiate is the new family member. To take
380   advantage of this, you need one of these packages:
381
382   o Heimdal Kerberos5               http://www.pdc.kth.se/heimdal/heimdal.html
383   o GSSAPI from Globus                   http://www.globus.org/
384   o GSSAPI libraries from MIT Kerberos5  http://web.mit.edu/kerberos/www/
385
386 - A missing ending bracket (']') while doing URL globbing could lead to a
387   segfault. While fixing this, I also introduced better error reporting in the
388   globbing code. (All this is application code outside libcurl.)
389
390 Daniel (6 June)
391 - David Orrell found out that sending a huge GET request over HTTPS could
392   make libcurl fail and return an error code.
393
394 Daniel (2 June)
395 - Richard Bramante found out that "Content-Length: 0" was not properly used by
396   libcurl if the response-headers indicated that the connection would be
397   closed.
398
399 - David Byron's patch was applied, that makes the --progress-bar take the
400   local size into account when doing resumed downloads.
401
402 - Feedback from Serge Semashko made me change the error message returned when
403   CURLE_HTTP_RETURNED_ERROR is returned.
404
405 - Anonymous in bug report #745122 pointed out that we should really be using
406   SSL_CTX_set_options(... SSL_OP_ALL) to work around flaws in existing SSL
407   implementations.
408
409 Daniel (27 May)
410 - Andreas Ley and Rich Gray helped me point out that no version of HP-UX has
411   the sys/select.h header file so including it unconditionally in curl/multi.h
412   is not a good thing. Now we check for HPUX and avoid using that header on
413   such systems.
414
415 - Rudy Koento experienced problems with curl's recent habit of POSTing data in
416   two separate send() calls, first the headers and then the data. I've now
417   made a fix that for static and known content that is less than 100K in size,
418   everything is now sent in one single system call again. This is also better
419   for network performance reasons.
420
421 - I modified the main makefile to not build the test suite and a few other
422   unnecessary things by default. Now, the test suite is built when 'make test'
423   is run.  This reduces build time for those who don't care for the test
424   suite, and it also reduces confusion for people using platforms where the
425   test suite build fails!
426
427 Daniel (26 May)
428 - Chris Lewis pointed out a flaw in the #ifdefs in curl/multi.h for Windows,
429   which is now corrected.
430
431 - Jis Joy found another flaw in the SOCK5 code, as libcurl treated the socks5
432   proxy a little too much like as if it was a http proxy.
433
434 Daniel (23 May)
435 - Ricardo Cadime found a socket leak when listing directories without
436   contents. Test cases 144 and 145 were added to verify the fix.
437
438 - Rudy Koento found yet another problem when a HTTP server returns only a
439   single-line of contents without any headers at all. libcurl then failed to
440   count the data, thus returning error 52 "no contents". Test case 66 was
441   added to verify that we now do right.
442
443 Version 7.10.6-pre1 (23 May 2003)
444
445 Daniel (23 May)
446 - Jis in bug report #741841, fixed a bug in the SOCKS5 proxy-using code.
447
448 Daniel (22 May)
449 - David Remahl set up a test-server for me providing Digest authentication,
450   and I wrote the first working code that support it. The test suite was
451   modified slightly as well to work better for it and --digest was added to
452   the command line options (and CURLOPT_HTTPDIGEST to the library)...  RFC2617
453   has all the gory details.
454
455 Daniel (21 May)
456 - David Balazic pointed out that curl_unescape() didn't check that %-codes
457   were correctly followed by two hexadecimal digits when it unescape strings.
458   Now, we do the check and only %XX codes are unescaped if the X letters are
459   hexadecimals.
460
461 - Gisle Vanem made curl build with djgpp on DOS.
462
463 - Gisle Vanem improved the mkhelp.pl script to make a nicer manual that is
464   shown with curl -M.
465
466 Daniel (20 May)
467 - Gisle Vanem provided a fix that makes libcurl more conservative, not
468   expecting h_aliases of the hostent struct to always be non-NULL.
469
470 Daniel (19 May)
471 - As requested by Martin Michlmayr in Debian bug report #193630, libcurl now
472   supports user name and password in the proxy environment variables. Added
473   test case 63 to verify this.
474
475 Version 7.10.5 (19 May 2003)
476
477 Daniel (15 May)
478 - Changed the order for the in_addr_t testing, as 'unsigned long' seems to be
479   a very common type inet_addr() returns.
480
481 Daniel (14 May)
482 - George Comninos provided a fix that calls the progress meter when waiting
483   for FTP command responses take >1 second. It'll make applications more
484   "responsive" even when dealing with very slow ftp servers.
485
486 Daniel (12 May)
487 - George Comninos pointed out that libcurl uploads had two quirks:
488    o when using FTP PORT command, it used blocking sockets!
489    o it could loop a long time without doing progress meter updates
490   Both items are fixed now.
491
492 Daniel (9 May)
493 - Dan Fandrich changed CURLOPT_ENCODING to select all supported encodings if
494   set to "".  This frees the application from having to know which encodings
495   the library supports.
496
497 - Dan Fandrich pointed out we had three unnecessary files in CVS that is
498   generated with libtoolize, so they're now removed and libtoolize is invoked
499   accordingly in the buildconf script.
500
501 - Avery Fay found out that the CURLOPT_INTERFACE way of first checking if the
502   given name is a network interface gave a real performance penalty on Linux,
503   so now we more appropriately first check if it is an IP number and if so
504   we don't check for a network interface with that name.
505
506 - CURLOPT_FTP_USE_EPRT added. Set this to FALSE to disable libcurl's attempts
507   to use EPRT and LPRT before the traditional PORT command. The command line
508   tool sets this option with '--disable-eprt'.
509
510 Version 7.10.5-pre2 (6 May 2003)
511
512 Daniel (6 May)
513 - Kevin Delafield reported another case where we didn't correctly check for
514   EAGAIN but only EWOULDBLOCK, which caused badness on HPUX.
515
516 Daniel (4 May)
517 - Ben Greear noticed that the check for 'writable argv' exited the configure
518   script when run for cross-compiling, which wasn't nice. Now it'll default to
519   no and output a warning about the fact that it was not checked for.
520
521 Daniel (2 May)
522 - Added test case 62 and fixed some more on the cookie sending with a custom
523   Host: header set.
524
525 Daniel (1 May)
526 - Andy Cedilnik fixed a few compiler warnings.
527
528 - Made the "SSL read error: 5" error message more verbose, by adding code that
529   queries the OpenSSL library to fill in the error buffer.
530
531 Daniel (30 Apr)
532 - Added sys/select.h include in the curl/multi.h file, after having been
533   reminded about this by Rich Gray.
534
535 - I made each test set its own server requirements, thus abandoning the
536   previous system where the test number implied what server(s) to use for a
537   specific test.
538
539 - David Balazic made curl more RFC1738-compliant for FTP URLs, by fixing so
540   that libcurl now uses one CWD command for each path part. A bunch of test
541   cases were fixed to work accordingly.
542
543 - Cookie fixes:
544
545   A. Save domains in jars like Mozilla does. It means all domains set in
546      Set-Cookie: headers are dot-prefixed.
547   B. Save and use the 'tailmatch' field in the Mozilla/Netscape cookie jars
548      (the second column).
549   C. Reject cookies using illegal domains in the Set-Cookie: line. Concerns
550      both domains with too few dots or domains that are outside the currently
551      operating server host's domain.
552   D. Set the path part by default to the one used in the request, if none was
553      set in the Set-Cookie line.
554
555   To make item C really good, I also made libcurl notice custom Host: headers
556   and extract the host name set in there and use that as the host name for the
557   site we're getting the cookies from. This allows user to specify a site's
558   IP-address, but still be able to receive and send its cookies properly if
559   you provide a valid Host: name for the site.
560
561 Daniel (29 Apr)
562 - Peter Kovacs provided a patch that makes the CURLINFO_CONNECT_TIME work fine
563   when using the multi interface (too).
564
565 Version 7.10.5-pre1 (23 Apr 2003)
566
567 Daniel (23 Apr)
568 - Upgraded to libtool 1.5.
569
570 Daniel (22 Apr)
571 - Peter Sylvester pointed out that curl_easy_setopt() will always (wrongly)
572   return CURLE_OK no matter what happens.
573
574 - Dan Fandrich fixed some gzip decompression bugs and flaws.
575
576 Daniel (16 Apr)
577 - Fixed minor typo in man page, reported in the Debian bug tracker.
578
579 Daniel (15 Apr)
580 - Fixed some FTP tests in the test suite that failed on my Solaris host, due
581   to the config.h not being included before the system headers. When done that
582   way, it did get a mixed sense of if big files are supported or not and then
583   stat() and fstat() (as used in test case 505) got confused and failed to
584   return a proper file size.
585
586 - Formposting a file using a .html suffix is now properly set to Content-Type:    text/html.
587
588 Daniel (14 Apr)
589 - Fixed the SSL error handling to return proper SSL error messages again, they
590   broke in 7.10.4. I also attempt to track down CA cert problems and then
591   return the CURLE_SSL_CACERT error code.
592
593 - The curl tool now intercepts the CURLE_SSL_CACERT error code and displays
594   a fairly big and explanatory error message. Kevin Roth helped me out with
595   the wording.
596
597 Daniel (11 Apr)
598 - Nic Hines provided a second patch for gzip decompression, and fixed a bug
599   when deflate or gzip contents were downloaded using chunked encoding.
600
601 - Dan Fandrich made libcurl support automatic decompression of gzip contents
602   (as an addition to the previous deflate support).
603
604 - I made the CWD command during FTP session consider all 2xy codes to be OK
605   responses.
606
607 Daniel (10 Apr)
608 - Vlad Krupin fixed a URL parsing issue. URLs that were not using a slash
609   after the host name, but still had "?" and parameters appended, as in
610   "http://hostname.com?foobar=moo", were not properly parsed by libcurl.
611
612 Daniel (9 Apr)
613 - Made CURLOPT_TIMECONDITION work for FTP transfers, using the same syntax as
614   for HTTP. This then made -z work for ftp transfers too. Added test case 139
615   and 140 for verifying this.
616
617 - Getting the file date of an ftp file used the wrong time zone when
618   displayed. It is supposedly always GMT. Added test case 141 for this.
619
620 - Made the test suite's FTP server support MDTM.
621
622 - The default DEBUGFUNCTION, as enabled with CURLOPT_VERBOSE now outputs
623   CURLINFO_HEADER_IN data as well. The most notable effect from this is that
624   using curl -v, you get to see the incoming "headers" as well. This is
625   perhaps most useful when doing ftp.
626
627 Daniel (8 Apr)
628 - James Bursa fixed a flaw in the Content-Type extraction code, which missed
629   the first letter if no space followed the colon.
630
631 - Magnus Nilsson pointed out that share.c was missing in the MSVC project
632   file.
633
634 Daniel (6 Apr)
635 - Ryan Weaver provided a patch that makes the CA cert bundle not get installed
636   anymore when 'configure --without-ssl' has been used.
637
638 Daniel (4 Apr)
639 - Martijn Broenland found another cases where a server application didn't
640   like the boundary string used by curl when foing a multi-part/formpost. We
641   modified the boundary string to look like the one IE uses, as this is
642   probably gonna make curl work with more applications.
643
644 Daniel (3 Apr)
645 - Kevin Roth reported that a bunch of tests fails on cygwin. One set fails
646   when using perl 5.8 (and they run fine with perl 5.6), and another set
647   failed because of an artifact in the test suite's FTP server that I
648   corrected. It turned out the FTP server code was still having a file opened
649   while the main test script removed it and invoked the HTTP server that
650   attempted to create the same file name of the file the FTP server kept open.
651   This operation works fine on unix, but not on cygwin.
652
653 Version 7.10.4 (2 Apr 2003)
654
655 Daniel (1 Apr)
656 - Added test case 505 to exercise FTP upload with rename done with libcurl,
657   and for that I had to extend the test suite's FTP server to deal with the
658   RNFR and RNTO commands.
659
660 Daniel (31 Mar)
661 - Even more SSL config check modifications after Richard's testing.
662
663 Version 7.10.4-pre6 (31 Mar 2003)
664
665 Daniel (31 Mar)
666 - More fixes for the SSL session ID cache checks when SSL configs are changed
667   between connections. Based on tests and talks with Richard Bramante.
668
669 - Guillaume Cottenceau provided a patch that added CURLOPT_UNRESTRICTED_AUTH.
670   When enabled, it will prevent libcurl from limiting to which host it sends
671   user+password to when following locations. By default, libcurl only sends
672   name and password to the original host used in the first URL, but with this
673   option set it will send the auth info to all hosts it follows location
674   headers to. The new tool command line option for this is named
675   "--location-trusted".
676
677 - Frankie Fong reported a problem with libcurl if you re-used an easy handle
678   with a proxy, and you first made a https:// connction to a host and then
679   switched to a http:// one to the same host. libcurl would then wrongly re-use
680   the same connection for it and fail to get the second URL properly
681
682 Daniel (29 Mar)
683 - Dan Shearer's fix that makes curl complain if invoked with nothing but "curl
684   -O" was applied.
685
686 Daniel (26 Mar)
687 - Bryan Kemp was friendly enough to lend me an account on his Redhat 9 box and
688   I could fix the configure problems on redhat 8.1 and 9 in no time thanks to
689   this. Thanks a bunch Bryan!
690
691 Daniel (25 Mar)
692 - Renamed configure.in to configure.ac
693
694 Version 7.10.4-pre5 (25 Mar 2003)
695
696 Daniel (25 Mar)
697 - Richard Bramante provided a fix for a handle re-use problem seen when you
698   change options on an SSL-enabled connection between requests. Previously,
699   changing peer verification or host verification and similar things was not
700   taken into account when a connection were checked for re-use and thus
701   enabling stricter check between requests on a re-used connection made no
702   difference and the connection would thus be used erroneously.
703
704 Daniel (24 Mar)
705 - Götz Babin-Ebell pointed out that the ca-bundle.crt file contained a
706   certificate from Trustcenter that was a demo certificate only that was never
707   indended to be part of a CA bundle.
708
709 Daniel (21 Mar)
710 - Life is a mystery. Within a time period of 17 hours, Tim Pope and Michael
711   Churchill filed one bug report each, both identifying problems with a second
712   transfer when doing persistant transfers re-using a connection. Tim's one is
713   #706624, labeled "Multiple uploads per handle fail" and Michael's #707003
714   "Does not send Authorization: header when reusing connection". I could track
715   both down to the same piece of logic and it turned out libcurl was not using
716   new settings properly when re-using an existing connection. This concerned
717   both uploading and downloading and involved exactly those pieces these two
718   reports identified. This code has been this faulty since the day I
719   introduced persistant connection support in libcurl, more than 2 years ago.
720
721 Daniel (20 Mar 2003)
722 - Five year anniversary. Today five years ago, the first ever curl release saw
723   the light of day.
724
725 Daniel (17 Mar)
726 - Andy Cedilnik corrected flaws in some libcurl example-usage sources.
727
728 Daniel (16 Mar)
729 - Juan F. Codagnone reported that the fix from March 2nd was incomplete.
730
731 - Added code to the configure.in to check for select() argument types. I've
732   not made any code use the results just yet though.
733
734 Daniel (15 Mar)
735 - Gisle Vanem provided two patches to build better on Windows.
736
737 - Adjusted the test suite code to better make sure that the server(s) required
738   for a specific test is properly started before the test case is attempted.
739   Many tests now run a lot faster than before.
740
741 Daniel (14 Mar)
742 - Another configure.in adjustment made the configure detect functions properly
743   on HPUX now.
744
745 Daniel (13 Mar)
746 - Philippe Raoult fixed pre4-compile quirks for FreeBSD.
747
748 Version 7.10.4-pre4 (13 Mar 2003)
749
750 Daniel (13 Mar)
751 - Added a backup-check for functions that aren't found by AC_CHECK_FUNCS()
752   as I believe some checks on HPUX need this. At least some of the info given
753   to us by Rick Jones seemed to indicate this.
754
755 Daniel (12 Mar)
756 - Thomas Tonino found out that if you used the curl tool to do PUT operations
757   as in 'curl www.foo.com/dir/ -T file' and the file name included for example
758   space or other characters that don't belong in URLs, curl did not properly
759   URL encode them before using them in the URL.
760
761 - Added an option to configure called --enable-libgcc that simply adds -lgcc
762   to the LIBS variable, as this seems to be a common problem.
763
764 - I modified the configure.in file, so that the headers are now checked in an
765   order of "viality". We must also make sure to use the "default headers"
766   parameter to AC_CHECK_HEADERS() so that headers are checked with the proper
767   prerequisites included (i.e all the major and generally important header
768   files are included there by default). This might be what we need for various
769   Sun, HP, AIX and Tru64 systems to behave good again on the header check
770   front.
771
772 - Rick Jones pointed out a few compiler warnings on HP-UX that I addressed.
773
774 - I made the configure --help output nicer by using AC_HELP_STRING() a lot
775   more.
776
777 Daniel (11 Mar)
778 - Christophe Demory fixed the socket sending code to work better on HP-UX
779   when sending data to a socket that would block. It then returns EAGAIN, not
780   EWOULDBLOCK.
781
782 - Richard Gorton improved the seeding function for systems without a good
783   and reliable random source.
784
785 - Richard Gorton fixed a few warnings that popped up when you built curl
786   using the Sun compiler on a 64bit SPARC platform.
787
788 - Martin C. Martin fixed a case where a connect failure using the multi
789   interface didn't produce a human readable error string.
790
791 Daniel (10 Mar)
792 - Reverted ltmain.sh back to libtool 1.4.2 status again, as the 1.4.3 version
793   broke the build on numerous platforms. It seems that libtool 1.4.3 puts some
794   requirements on what versions of the other tools (autoconf + automake) that
795   I am not familiar with and thus I couldn't fulfill at this point.
796
797   Yes, this is more than mildly frustrating.
798
799 Daniel (7 Mar)
800 - Run libtoolize version 1.4.3.
801
802 Version 7.10.4-pre3 (4 Mar 2003)
803
804 Daniel (3 Mar)
805 - Added share.obj to the VC6 and Borland libcurl makefiles.
806
807 - Troels Walsted Hansen found and investigated a problem with libcurl on AIX,
808   presumably only on 4.3 or later. gethostbyname_r() is not returning data
809   that is possible to "keep" and cache the way libcurl does. But instead these
810   versions of AIX uses a gethostbyname() that works thread-safely we can
811   instead use the ordinary gethostbyname() and our pack_hostent() approach to
812   achieve what we want. The configure script now attempts to detect AIX 4.3 or
813   later to adjust for this.
814
815 Daniel (2 Mar)
816 - Juan F. Codagnone found a problem introduced in 7.10.3 when you first did a
817   POST and then back to a GET using the same easy handle.
818
819 Daniel (28 Feb)
820 - Removed the strequal and strnequal defines from curl/curl.h header. They
821   were never meant for the public header anyway. Philippe Raoult brought it
822   up.
823
824 - James Bursa fixed the RISC OS build.
825
826 Daniel (27 Feb)
827 - Avery Fay pointed out the very misleading curl_multi_info_read man page, and
828   I updated it to become more accurate.
829
830 - Salvatore Sorrentino found a problem with FTP downloading that turned out to
831   be his FTP server returning size zero (0 bytes) when SIZE was used on a file
832   while being in BINARY mode. We now make a second check for the actual size
833   by scanning the RETR reply anyway, even if the SIZE command returned 0.
834
835 Daniel (26 Feb)
836 - Kyle Sallee reported a case where he would do a transfer that didn't update
837   the progress meter properly. It turned out to be a case where libcurl would
838   loop a little too eagerly in the tranfer loop, which isn't really good for
839   the APIs, especially not the multi API.
840
841 Version 7.10.4-pre2 (24 Feb 2003)
842
843 Daniel (24 Feb)
844 - Kjetil Jacobsen found out that setting CURLOPT_MAXCONNECTS to a value higher
845   than 5 could cause a segfault.
846
847 - I believe I fixed the 'Expect: 100-continue' behavior that has been broken
848   for a while (I think since my change dated Dec 10 2002). When this header is
849   used, libcurl should wait for a HTTP 100 (or timeout) before sending the
850   post/put data.
851
852 Daniel (14 Feb)
853 - Matthew Clarke provided some info what to modify to make curl build
854   flawlessly on AIX 3.2.5.
855
856 - Martin C. Martin found and fixed a problem in the multi interface when
857   running on Windows and trying to connect to a port without a listener.
858
859 Daniel (13 Feb)
860 - Christopher R. Palmer fixed Curl_base64_encode() to deal with zeroes in the
861   data to encode.
862
863 Daniel (4 Feb)
864 - Jean-Philippe added the first code that enables the 'share' system. This
865   should now enable sharing of DNS data between two curl easy handles.
866
867 - Incorporated Nico Baggus' fixes to again compile flawlessly on VMS.
868
869 - James Bursa corrected a bad comment in the public include file curl/multi.h
870
871 - Peter Forret reported one of those error:00000000 cases in libcurl again
872   when connecting to a HTTPS site, and this time I did discover some oddities
873   in how curl reports SSL errors back. It could miss showing the actual error.
874
875 Version 7.10.4-pre1 (3 Feb 2003)
876
877 Daniel (3 Feb)
878 - Removed things in the docs saying capath doesn't work on Windows, as Julian
879   Noble told us it works fine.
880
881 Daniel (31 Jan)
882 - Kevin Roth fixed the zlib build stuff in the Mingw32 makefile.
883
884 Daniel (30 Jan)
885 - Kevin Roth found out that curl on Windows always checked for the CA cert
886   bundle using the environment variable and the path scan, even though
887   -k/--insecure was used.
888
889 - Hamish Mackenzie pointed out that curl only did strict host name verifying
890   if capath or cainfo was used. Now it'll always do it unless -k / --insecure
891   is used!
892
893 - Pavel Cenek pointed out that the Content-Type extraction was done wrongly
894   as the full string was not fetched. Added test case 57 to verify that curl
895   does it right now.
896
897 Daniel (29 Jan)
898 - Jamie Wilkinson provided a patch that now makes curl attempt to clear out
899   "sensitive" command line arguments so that they don't appear in ps outputs
900   (only on platforms that allow writing to argv[]).
901
902 - John McGowan found out that the DEBUGFUNCTION could be called with bad
903   arguments and thus cause the --trace outputs to go wrong.
904
905 - Removed all the emacs local variables from all files. Mats Lidell provided
906   the new sample.emacs file (for a sample of what to include in your .emacs)
907   and the curl-style.el that sets a better c-style for editing curl sources.
908
909 - Dave Halbakken found a problem with FTP downloads that could accidently
910   return CURLE_PARTIAL_FILE when curl_easy_perform() was called with NOBODY
911   set TRUE.
912
913 Daniel (27 Jan)
914 - The fopen.c example was flawed as Nick Humfrey noticed, and I fixed it to
915   work again.
916
917 Daniel (24 Jan)
918 - Bertrand Demiddelaer found and fixed a memory leak (the content-type string)
919   when following locations.
920
921 Daniel (22 Jan 2003)
922 - Ian Wilkes and Legoff Vincent both independently provided fixes for making
923   curl/multi.h work properly when compiled with a C++ compiler.
924
925 Daniel (20 Jan 2003)
926 - Fixed 'buildconf' to check version number of the required tools before
927   they're actually used.
928
929 - Wrote 'testcurl.sh', a script targeted for automatic and distributed curl
930   tests on various platforms.
931
932 - David Thiel pointed out that the .netrc file was not being dealt with
933   properly anymore. I broke this in the password prompting "fix".
934
935 - Markus F.X.J. Oberhumer patched libcurl to allocate the scratch buffer only
936   on demand and thus we save 32KB in each curl handle that don't use that
937   buffer. This need appeared when some people started using thousands of
938   simultaneous curl handles... :-)
939
940 Daniel (16 Jan 2003)
941 - Markus Oberhumer fixed curl-config --cflags when the includedir was not
942   /usr/include.
943
944 - Markus Oberhumer fixed CURLINFO_PRIVATE to properly return NULL if it was
945   set to NULL!
946
947 Version 7.10.3 (14 Jan 2003)
948
949 Daniel (10 Jan 2003)
950 - Steve Oliphant pointed out that test case 105 did not work anymore and this
951   was due to a missing fix for the password prompting.
952
953 Version 7.10.3-pre6 (10 Jan 2003)
954
955 Daniel (9 Jan 2003)
956 - Bryan Kemp pointed out that curl -u could not provide a blank password
957   without prompting the user. It can now. -u username: makes the password
958   empty, while -u username makes curl prompt the user for a password.
959
960 - Kjetil Jacobsen found a remaining connect problem in the multi interface on
961   ipv4 systems (Linux only?), that I fixed and Kjetil verified that it fixed
962   his problems.
963
964 - memanalyze.pl now reads a file name from the command line, and no longer
965   takes the data on stdin as before.
966
967 Version 7.10.3-pre5 (9 Jan 2003)
968
969 Daniel (9 Jan 2003)
970 - Fixed tests/memanalyze.pl to work with file names that contain colons (as on
971   Windows).
972   
973 - Kjetil Jacobsen quickly pointed out that lib/share.h was missing...
974
975 Version 7.10.3-pre4 (9 Jan 2003)
976
977 Daniel (9 Jan 2003)
978 - Updated lib/share.c quite a bit to match the design document at
979   http://curl.haxx.se/dev/sharing.txt a lot more.
980
981   I'll try to update the document soonish. share.c is still not actually used
982   by libcurl, but the API is slowly getting there and we can start
983   implementing code that takes advantage of this system.
984
985 Daniel (8 Jan 2003)
986 - Updated share stuff in curl/curl.h, including data types, structs and
987   function prototypes. The corresponding files in lib/ were also modified
988   of course to remain compilable. Based on input from Jean-Philippe and also
989   to make it more in line with the design document.
990
991 - Jean-Philippe Barrette-LaPierre patched a very trivial memory leak in
992   curl_escape() that would happen when realloc() returns NULL...
993
994 - Matthew Blain provided feedback to make the --create-dirs stuff build
995   properly on Windows.
996
997 - Fixed the #include in tests/libtest/first.c as Legoff Vincent pointed out.
998
999 Daniel (7 Jan 2003)
1000 - Philippe Raoult provided a patch that now makes libcurl properly support
1001   wildcard checks for certificate names.
1002
1003 - Simon Liu added CURLOPT_HTTP200ALIASES, to let an application set other
1004   strings recognized as "HTTP 200" to allow http-like protocols to get
1005   downloaded fine by curl.
1006
1007 - Now using autoconf 2.57 and automake 1.7.2
1008
1009 - Doing "curl -I ftp://domain/non-existing-file" still outputed a date!
1010   Wayne Haigh reported.
1011
1012 - The error message is now written properly with a newline in the --trace
1013   file.
1014
1015 Daniel (6 Jan 2003)
1016 - Sterling Hughes fixed a possible bug: previously, if you called
1017   curl_easy_perform and then set the global dns cache, the global cache
1018   wouldn't be used. Pointed out by Jean-Philippe Barrette-LaPierre.
1019
1020 - Matthew Blain's fixed the VC6 libcurl makefile to include better debug data
1021   on debug builds.