fix: timeout after last data chunk was handled
[platform/upstream/curl.git] / CHANGES
1                                   _   _ ____  _
2                               ___| | | |  _ \| |
3                              / __| | | | |_) | |
4                             | (__| |_| |  _ <| |___
5                              \___|\___/|_| \_\_____|
6
7                                   Changelog
8
9 Daniel Stenberg (24 Mar 2010)
10 - Bob Richmond: There's an annoying situation where libcurl will read new HTTP
11   response data from a socket, then check if it's a timeout if one is set. If
12   the last packet received constitutes the end of the response body, libcurl
13   still treats it as a timeout condition and reports a message like:
14
15   "Operation timed out after 3000 milliseconds with 876 out of 876 bytes 
16   received"
17
18   It should only a timeout if the timer lapsed and we DIDN'T receive the end
19   of the response body yet.
20
21 - Christopher Conroy fixed a problem with RTSP and GET_PARAMETER reported
22   to us by Massimo Callegari. There's a new test case 572 that verifies this
23   now.
24
25 - The 'ares' subtree has been removed from the source repository. It was
26   always a separate project that sort of piggybacked on the curl project since
27   the dawn of times and now the time has come for it to go stand on its own
28   legs and continue living its own life. All details on c-ares and its new
29   source code repository is found at http://c-ares.haxx.se/
30
31 Daniel Stenberg (23 Mar 2010)
32 - Kenny To filed the bug report #2963679 with patch to fix a problem he
33   experienced with doing multi interface HTTP POST over a proxy using
34   PROXYTUNNEL. He found a case where it would connect fine but bits.tcpconnect
35   was not set correct so libcurl didn't work properly.
36
37   (http://curl.haxx.se/bug/view.cgi?id=2963679)
38
39 - Akos Pasztory filed debian bug report #572276
40   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572276 mentioning a problem
41   with a resource that returns chunked-encoded _and_ with a Content-Length
42   and libcurl failed to properly ignore the latter information.
43
44 - Hauke Duden provided an example program that made the multi interface crash.
45   His example simply used the multi interface and did first one FTP transfer
46   and after completion it used a second easy handle and did another FTP
47   transfer on the same FTP server.
48
49   This triggered a bug in the "delayed easy handle kill" system that curl
50   uses: when an FTP connection is left alive it must keep an easy handle
51   around internally - only for the purpose of having an easy handle when it
52   later disconnects it. The code assumed that when the easy handle was removed
53   and an internal reference was made, that version could be killed later on
54   when a new easy handle came using the same connection. This was wrong as
55   Hauke's example showed that the removed handle wasn't killed for real until
56   later. This caused a double close attempt => segfault.
57
58 Daniel Stenberg (22 Mar 2010)
59 - Thomas Lopatic fixed the alarm()-based DNS timeout:
60
61   Looking at the code of Curl_resolv_timeout() in hostip.c, I think that in
62   case of a timeout, the signal handler for SIGALRM never gets removed. I
63   think that in my case it gets executed at some point later on when execution
64   has long left Curl_resolv_timeout() or even the cURL library.
65   
66   The code that is jumped to with siglongjmp() simply sets the error message
67   to "name lookup timed out" and then returns with CURLRESOLV_ERROR. I guess
68   that instead of simply returning without cleaning up, the code should have a
69   goto that jumps to the spot right after the call to Curl_resolv().
70
71 Kamil Dudka (22 Mar 2010)
72 - Douglas Steinwand contributed a patch fixing insufficient initialization in
73   Curl_clone_ssl_config()
74
75 Daniel Stenberg (21 Mar 2010)
76 - Ben Greear improved TFTP: the error code returning and the treatment
77   of TSIZE == 0 when uploading.
78
79 - We've switched from CVS to git. See http://curl.haxx.se/source.html
80
81 Kamil Dudka (19 Mar 2010)
82 - Improved Curl_read() to not ignore the error returned from Curl_ssl_recv().
83
84 Daniel Stenberg (15 Mar 2010)
85 - Constantine Sapuntzakis brought a patch:
86
87   The problem mentioned on Dec 10 2009
88   (http://curl.haxx.se/bug/view.cgi?id=2905220) was only partially fixed.
89   Partially because an easy handle can be associated with many connections in
90   the cache (e.g. if there is a redirect during the lifetime of the easy
91   handle).  The previous patch only cleaned up the first one. The new fix now
92   removes the easy handle from all connections, not just the first one.
93
94 Daniel Stenberg (6 Mar 2010)
95 - Ben Greear brought a patch that fixed the rate limiting logic for TFTP when
96   the easy interface was used.
97
98 Daniel Stenberg (5 Mar 2010)
99 - Daniel Johnson provided fixes for building curl with the clang compiler.
100
101 Yang Tse (5 Mar 2010)
102 - Constantine Sapuntzakis detected and fixed a double free in builds done
103   with threaded resolver enabled (Windows default configuration) that would
104   get triggered when a curl handle is closed while doing DNS resolution.
105
106 Daniel Stenberg (2 Mar 2010)
107 - [Daniel Johnson] I've been trying to build libcurl with clang on Darwin and
108   ran into some issues with the GSSAPI tests in configure.ac. The tests first
109   try to determine the include dirs and libs and set CPPFLAGS and LIBS
110   accordingly. It then checks for the headers and finally sets LIBS a second
111   time, causing the libs to be included twice. The first setting of LIBS seems
112   redundant and should be left out, since the first part is otherwise just
113   about finding headers.
114
115   My second issue is that 'krb5-config --libs gssapi' on Darwin is less than
116   useless and returns junk that, while it happens to work with gcc, causes
117   clang to choke. For example, --libs returns $CFLAGS along with the libs,
118   which is really retarded. Simply setting 'LIBS="$LIBS -lgssapi_krb5
119   -lresolv"' on Darwin is sufficient.
120
121 - Based on patch provided by Jacob Moshenko, the transfer logic now properly
122   makes sure that when using sub-second timeouts, there's no final bad 1000ms
123   wait. Previously, a sub-second timeout would often make the elapsed time end
124   up the time rounded up to the nearest second (e.g. 1s for 200ms timeout)
125
126 - Andrei Benea filed bug report #2956698 and pointed out that the
127   CURLOPT_CERTINFO feature leaked memory due to a missing OpenSSL function
128   call. He provided the patch to fix it too.
129
130   http://curl.haxx.se/bug/view.cgi?id=2956698
131
132 - Markus Duft pointed out in bug #2961796 that even though Interix has a
133   poll() function it doesn't quite work the way we want it so we must disable
134   it, and he also provided a patch for it.
135
136   http://curl.haxx.se/bug/view.cgi?id=2961796
137
138 - Made the pingpong timeout code properly deal with the response timeout AND
139   the global timeout if set. Also, as was reported in the bug report #2956437
140   by Ryan Chan, the time stamp to use as basis for the per command timeout was
141   not set properly in the DONE phase for FTP (and not for SMTP) so I fixed
142   that just now. This was a regression compared to 7.19.7 due to the
143   conversion of FTP code over to the generic pingpong concepts.
144
145   http://curl.haxx.se/bug/view.cgi?id=2956437
146
147 Daniel Stenberg (1 Mar 2010)
148 - Ben Greear provided an update for TFTP that fixes upload.
149
150 - Wesley Miaw reported bug #2958179 which identified a case of looping during
151   OpenSSL based SSL handshaking even though the multi interface was used and
152   there was no good reason for it.
153
154   http://curl.haxx.se/bug/view.cgi?id=2958179
155
156 Daniel Stenberg (26 Feb 2010)
157 - Pat Ray in bug #2958474 pointed out an off-by-one case when receiving a
158   chunked-encoding trailer.
159
160   http://curl.haxx.se/bug/view.cgi?id=2958474
161
162 Daniel Fandrich (25 Feb 2010)
163 - Fixed a couple of out of memory leaks and a segfault in the SMTP & IMAP code.
164
165 Yang Tse (25 Feb 2010)
166 - I fixed bug report #2958074 indicating
167   (http://curl.haxx.se/bug/view.cgi?id=2958074) that curl on Windows with
168   option --trace-time did not use local time when timestamping trace lines.
169   This could also happen on other systems depending on time souurce.
170
171 Patrick Monnerat (22 Feb 2010)
172 - Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into account.
173 - SMTP falls back to RFC821 HELO when EHLO fails (and SSL is not required).
174 - Use of true local host name (i.e.: via gethostname()) when available, as
175   default argument to SMTP HELO/EHLO.
176 - Test case 804 for HELO fallback.
177
178 Daniel Stenberg (20 Feb 2010)
179 - Fixed the SMTP compliance by making sure RCPT TO addresses are specified
180   properly in angle brackets. Recipients provided with CURLOPT_MAIL_RCPT now
181   get angle bracket wrapping automatically by libcurl unless the recipient
182   starts with an angle bracket as then the app is assumed to deal with that
183   properly on its own.
184
185 - I made the SMTP code expect a 250 response back from the server after the
186   full DATA has been sent, and I modified the test SMTP server to also send
187   that response. As usual, the DONE operation that is made after a completed
188   transfer is still not doable in a non-blocking way so this waiting for 250
189   is unfortunately made blockingly.
190
191 Yang Tse (14 Feb 2010)
192 - Overhauled test suite getpart() function. Fixing potential out of bounds
193   stack and memory overwrites triggered with huge test case definitions.
194
195 Daniel Stenberg (13 Feb 2010)
196 - Martin Hager reported and fixed a problem with a missing quote in libcurl.m4
197
198   (http://curl.haxx.se/bug/view.cgi?id=2951319)
199
200 - Tom Donovan fixed the CURL_FORMAT_* defines when building with cmake.
201
202   (http://curl.haxx.se/bug/view.cgi?id=2951269)
203
204 Daniel Stenberg (12 Feb 2010)
205 - Jack Zhang reported a problem with SMTP: we wrongly used multiple addresses
206   in the same RCPT TO line, when they should be sent in separate single
207   commands. I updated test case 802 to verify this.
208
209 - I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl
210   tool which made it try to output it as string for the --libcurl feature
211   which could lead to crashes.
212
213 Yang Tse (11 Feb 2010)
214 - Steven M. Schweda fixed VMS builder bad behavior when used in a batch job,
215   removed obsolete batch_compile.com and defines.com and updated VMS readme.
216
217 Version 7.20.0 (9 February 2010)
218
219 Daniel Stenberg (9 Feb 2010)
220 - When downloading compressed content over HTTP and the app asked libcurl to
221   automatically uncompress it with the CURLOPT_ENCODING option, libcurl could
222   wrongly provide the callback with more data than the maximum documented
223   amount. An application could thus get tricked into badness if the maximum
224   limit was trusted to be enforced by libcurl itself (as it is documented).
225
226   This is further detailed and explained in the libcurl security advisory
227   20100209 at
228
229     http://curl.haxx.se/docs/adv_20100209.html
230
231 Daniel Fandrich (3 Feb 2010)
232 - Changed the Watcom makefiles to make them easier to keep in sync with
233   Makefile.inc since that can't be included directly.
234
235 Yang Tse (2 Feb 2010)
236 - Symbol CURL_FORMAT_OFF_T now obsoleted, will be removed in a future release,
237   symbol will not be available when building with CURL_NO_OLDIES defined. Use
238   of CURL_FORMAT_CURL_OFF_T is preferred since 7.19.0
239
240 Daniel Stenberg (1 Feb 2010)
241 - Using the multi_socket API, it turns out at times it seemed to "forget"
242   connections (which caused a hang). It turned out to be an existing (7.19.7)
243   bug in libcurl (that's been around for a long time) and it happened like
244   this:
245
246   The app calls curl_multi_add_handle() to add a new easy handle, libcurl will
247   then set it to timeout in 1 millisecond so libcurl will tell the app about
248   it.
249
250   The app's timeout fires off that there's a timeout, the app calls libcurl as
251   we so often document it:
252
253   do {
254    res = curl_multi_socket_action(... TIMEOUT ...);
255   } while(CURLM_CALL_MULTI_PERFORM == res);
256
257   And this is the problem number one:
258
259   When curl_multi_socket_action() is called with no specific handle, but only
260   a timeout-action, it will *only* perform actions within libcurl that are
261   marked to run at this time. In this case, the request would go from INIT to
262   CONNECT and return CURLM_CALL_MULTI_PERFORM. When the app then calls libcurl
263   again, there's no timer set for this handle so it remains in the CONNECT
264   state. The CONNECT state is a transitional state in libcurl so it reports no
265   sockets there, and thus libcurl never tells the app anything more about that
266   easy handle/connection.
267
268   libcurl _does_ set a 1ms timeout for the handle at the end of
269   multi_runsingle() if it returns CURLM_CALL_MULTI_PERFORM, but since the loop
270   is instant the new job is not ready to run at that point (and there's no
271   code that makes libcurl call the app to update the timout for this new
272   timeout). It will simply rely on that some other timeout will trigger later
273   on or that something else will update the timeout callback. This makes the
274   bug fairly hard to repeat.
275
276   The fix made to adress this issue:
277
278   We introduce a loop in lib/multi.c around all calls to multi_runsingle() and
279   simply check for CURLM_CALL_MULTI_PERFORM internally. This has the added
280   benefit that this goes in line with my long-term wishes to get rid of the
281   CURLM_CALL_MULTI_PERFORM all together from the public API.
282
283   The downside of this fix, is that the counter we return in 'running_handles'
284   in several of our public functions then gets a slightly new and possibly
285   confusing behavior during times:
286
287   If an app adds a handle that fails to connect (very quickly) it may just
288   as well never appear as a 'running_handle' with this fix. Previously it
289   would first bump the counter only to get it decreased again at next call.
290   Even I have used that change in handle counter to signal "end of a
291   transfer". The only *good* way to find the end of a individual transfer
292   is calling curl_multi_info_read() to see if it returns one.
293
294   Of course, if the app previously did the looping before it checked the
295   counter, it really shouldn't be any new effect.
296
297 Yang Tse (26 Jan 2010)
298 - Constantine Sapuntzakis' and Joshua Kwan's work done in the last four months
299   relative to the asynchronous DNS lookups, along with with some integration
300   adjustments I have done are finally committed to CVS.
301
302   Currently these enhancements will benefit builds done using c-ares on any
303   platform as well as Windows builds using the default threaded resolver.
304
305   This release does not make generally available POSIX threaded DNS lookups
306   yet. There is no configure option to enable this feature yet. It is possible
307   to experimantally try this feature running configure with compiler flags that
308   make simultaneous definition of preprocessor symbols USE_THREADS_POSIX and
309   HAVE_PTHREAD_H, as well as whatever reentrancy compiler flags and linker ones
310   are required to link and properly use pthread_* functions on each platform.
311
312 Daniel Stenberg (26 Jan 2010)
313 - Mike Crowe made libcurl return CURLE_COULDNT_RESOLVE_PROXY when it is the
314   proxy that cannot be resolved when using c-ares. This matches the behaviour
315   when not using c-ares.
316
317 Björn Stenberg (23 Jan 2010)
318 - Added a new flag: -J/--remote-header-name. This option tells the
319   -O/--remote-name option to use the server-specified Content-Disposition
320   filename instead of extracting a filename from the URL.
321
322 Daniel Stenberg (21 Jan 2010)
323 - Chris Conroy brought support for RTSP transfers, and with it comes 8(!) new
324   libcurl options for controlling what to get and how to receive posssibly
325   interleaved RTP data.
326
327 Daniel Stenberg (20 Jan 2010)
328 - As was pointed out on the http-state mailing list, the order of cookies in a
329   HTTP Cookie: header _needs_ to be sorted on the path length in the cases
330   where two cookies using the same name are set more than once using
331   (overlapping) paths. Realizing this, identically named cookies must be
332   sorted correctly. But detecting only identically named cookies and take care
333   of them individually is harder than just to blindly and unconditionally sort
334   all cookies based on their path lengths. All major browsers also already do
335   this, so this makes our behavior one step closer to them in the cookie area.
336
337   Test case 8 was the only one that broke due to this change and I updated it
338   accordingly.
339
340 Daniel Stenberg (19 Jan 2010)
341 - David McCreedy brought a fix and a new test case (129) to make libcurl work
342   again when downloading files over FTP using ASCII and it turns out that the
343   final size of the file is not the same as the initial size the server
344   reported. This is very common since servers don't take the newline
345   conversions into account.
346
347 Kamil Dudka (14 Jan 2010)
348 - Suppressed side effect of OpenSSL configure checks, which prevented NSS from
349   being properly detected under certain circumstances. It had been caused by
350   strange behavior of pkg-config when handling PKG_CONFIG_LIBDIR. pkg-config
351   distinguishes among empty and non-existent environment variable in that case.
352
353 Daniel Stenberg (12 Jan 2010)
354 - Gil Weber reported a peculiar flaw with the multi interface when doing SFTP
355   transfers: curl_multi_fdset() would return -1 and not set and file
356   descriptors several times during a transfer of a single file. It turned out
357   to be due to two different flaws now fixed. Gil's excellent recipe helped me
358   nail this.
359
360 Daniel Stenberg (11 Jan 2010)
361 - Made sure that the progress callback is repeatedly called at a regular
362   interval even during very slow connects.
363
364 - The tests/runtests.pl script now checks to see if the test case that runs is
365   present in the tests/data/Makefile.am and outputs a notice message on the
366   screen if not. Each test file has to be included in that Makefile.am to get
367   included in release archives and forgetting to add files there is a common
368   mistake. This is an attempt to make it harder to forget.
369
370 Daniel Stenberg (9 Jan 2010)
371 - Johan van Selst found and fixed a OpenSSL session ref count leak:
372
373   ossl_connect_step3() increments an SSL session handle reference counter on
374   each call. When sessions are re-used this reference counter may be
375   incremented many times, but it will be decremented only once when done (by
376   Curl_ossl_session_free()); and the internal OpenSSL data will not be freed
377   if this reference count remains positive. When a session is re-used the
378   reference counter should be corrected by explicitly calling
379   SSL_SESSION_free() after each consecutive SSL_get1_session() to avoid
380   introducing a memory leak.
381
382   (http://curl.haxx.se/bug/view.cgi?id=2926284)
383
384 Daniel Stenberg (7 Jan 2010)
385 - Make sure the progress callback is called repeatedly even during very slow
386   name resolves when c-ares is used for resolving.
387
388 Claes Jakobsson (6 Jan 2010)
389 - Julien Chaffraix fixed so that the fragment part in an URL is not sent
390   to the server anymore.
391
392 Kamil Dudka (3 Jan 2010)
393 - Julien Chaffraix eliminated a duplicated initialization in singlesocket().
394
395 Daniel Stenberg (2 Jan 2010)
396 - Make curl support --ssl and --ssl-reqd instead of the previous FTP-specific
397   versions --ftp-ssl and --ftp-ssl-reqd as these options are now used to
398   control SSL/TLS for IMAP, POP3 and SMTP as well in addition to FTP. The old
399   option names are still working but the new ones are the ones listed and
400   documented.
401
402 Daniel Stenberg (1 Jan 2010)
403 - Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. This
404   command is a special "hack" used by the drftpd server, but even though it is
405   a custom extension I've deemed it fine to add to libcurl since this server
406   seems to survive and people keep using it and want libcurl to support
407   it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also
408   usable from the curl tool with --ftp-pret. Using this option on a server
409   that doesn't support this command will make libcurl fail.
410
411   I added test cases 1107 and 1108 to verify the functionality.
412
413   The PRET command is documented at
414   http://www.drftpd.org/index.php/Distributed_PASV
415
416 Yang Tse (30 Dec 2009)
417 - Steven M. Schweda improved VMS build system, and Craig A. Berry helped
418   with the patch and testing.
419
420 Daniel Stenberg (26 Dec 2009)
421 - Renato Botelho and Peter Pentchev brought a patch that makes the libcurl
422   headers work correctly even on FreeBSD systems before v8.
423
424   (http://curl.haxx.se/bug/view.cgi?id=2916915)
425
426 Daniel Stenberg (17 Dec 2009)
427 - David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when
428   available.
429
430 - Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I
431   was a bit too quick and broke test case 1101 with that change. The order of
432   some of the setups is sensitive. I now changed it slightly again to make
433   sure we do them in this order:
434
435   1 - parse URL and figure out what protocol is used in the URL
436   2 - prepend protocol:// to URL if missing
437   3 - parse name+password off URL, which needs to know what protocol is used
438       (since only some allows for name+password in the URL)
439   4 - figure out if a proxy should be used set by an option
440   5 - if no proxy option, check proxy environment variables
441   6 - run the protocol-specific setup function, which needs to have the proxy
442       already set
443
444 Daniel Stenberg (15 Dec 2009)
445 - Jon Nelson found a regression that turned out to be a flaw in how libcurl
446   detects and uses proxies based on the environment variables. If the proxy
447   was given as an explicit option it worked, but due to the setup order
448   mistake proxies would not be used fine for a few protocols when picked up
449   from '[protocol]_proxy'. Obviously this broke after 7.19.4. I now also added
450   test case 1106 that verifies this functionality.
451
452   (http://curl.haxx.se/bug/view.cgi?id=2913886)
453
454 Daniel Stenberg (12 Dec 2009)
455 - IMAP, POP3 and SMTP support and their TLS versions (including IMAPS, POP3S
456   and SMTPS) are now supported. The current state may not yet be solid, but
457   the foundation is in place and the test suite has some initial support for
458   these protocols. Work will now persue to make them nice libcurl citizens
459   until release.
460
461   The work with supporting these new protocols was sponsored by
462   networking4all.com - thanks!
463
464 Daniel Stenberg (10 Dec 2009)
465 - Siegfried Gyuricsko found out that the curl manual said --retry would retry
466   on FTP errors in the transient 5xx range. Transient FTP errors are in the
467   4xx range. The code itself only tried on 5xx errors that occured _at login_.
468   Now the retry code retries on all FTP transfer failures that ended with a
469   4xx response.
470
471   (http://curl.haxx.se/bug/view.cgi?id=2911279)
472
473 - Constantine Sapuntzakis figured out a case which would lead to libcurl
474   accessing alredy freed memory and thus crash when using HTTPS (with
475   OpenSSL), multi interface and the CURLOPT_DEBUGFUNCTION and a certain order
476   of cleaning things up. I fixed it.
477
478   (http://curl.haxx.se/bug/view.cgi?id=2905220)
479
480 Daniel Stenberg (7 Dec 2009)
481 - Martin Storsjo made libcurl use the Expect: 100-continue header for posts
482   with unknown size. Previously it was only used for posts with a known size
483   larger than 1024 bytes.
484
485 Daniel Stenberg (1 Dec 2009)
486 - If the Expect: 100-continue header has been set by the application through
487   curl_easy_setopt with CURLOPT_HTTPHEADER, the library should set
488   data->state.expect100header accordingly - the current code (in 7.19.7 at
489   least) doesn't handle this properly. Martin Storsjo provided the fix!
490
491 Yang Tse (28 Nov 2009)
492 - Added Diffie-Hellman parameters to several test harness certificate files in
493   PEM format. Required by several stunnel versions used by our test harness.
494
495 Daniel Stenberg (28 Nov 2009)
496 - Markus Koetter provided a polished and updated version of Chad Monroe's TFTP
497   rework patch that now integrates TFTP properly into libcurl so that it can
498   be used non-blocking with the multi interface and more. BLKSIZE also works.
499
500   The --tftp-blksize option was added to allow setting the TFTP BLKSIZE from
501   the command line.
502
503 Daniel Stenberg (26 Nov 2009)
504 - Extended and fixed the change I did on Dec 11 for the the progress
505   meter/callback during FTP command/response sequences. It turned out it was
506   really lame before and now the progress meter SHOULD get called at least
507   once per second.
508
509 Daniel Stenberg (23 Nov 2009)
510 - Bjorn Augustsson reported a bug which made curl not report any problems even
511   though it failed to write a very small download to disk (done in a single
512   fwrite call). It turned out to be because fwrite() returned success, but
513   there was insufficient error-checking for the fclose() call which tricked
514   curl to believe things were fine.
515
516 Yang Tse (23 Nov 2009)
517 - David Byron modified Makefile.dist vc8 and vc9 targets in order to allow
518   finer granularity control when generating src and lib makefiles.
519
520 Yang Tse (22 Nov 2009)
521 - I modified configure to force removal of the curlbuild.h file included in
522   distribution tarballs for use by non-configure systems. As intended, this
523   would get overwriten when doing in-tree builds. But VPATH builds would end
524   having two curlbuild.h files, one in the source tree and another in the
525   build tree. With the modification I introduced 5 Nov 2009 this could become
526   an issue when running libcurl's test suite.
527
528 Daniel Stenberg (20 Nov 2009)
529 - Constantine Sapuntzakis identified a write after close, as the sockets were
530   closed by libcurl before the SSL lib were shutdown and they may write to its
531   socket. Detected to at least happen with OpenSSL builds.
532
533 - Jad Chamcham pointed out a bug with connection re-use. If a connection had
534   CURLOPT_HTTPPROXYTUNNEL enabled over a proxy, a subsequent request using the
535   same proxy with the tunnel option disabled would still wrongly re-use that
536   previous connection and the outcome would only be badness.
537
538 Yang Tse (18 Nov 2009)
539 - I modified the memory tracking system to make it intolerant with zero sized
540   malloc(), calloc() and realloc() function calls.
541
542 Daniel Stenberg (17 Nov 2009)
543 - Constantine Sapuntzakis provided another fix for the DNS cache that could
544   end up with entries that wouldn't time-out:
545
546   1. Set up a first web server that redirects (307) to a http://server:port
547      that's down
548   2. Have curl connect to the first web server using curl multi
549
550   After the curl_easy_cleanup call, there will be curl dns entries hanging
551   around with in_use != 0.
552
553   (http://curl.haxx.se/bug/view.cgi?id=2891591)
554
555 - Marc Kleine-Budde fixed: curl saved the LDFLAGS set during configure into
556   its pkg-config file.  So -Wl stuff ended up in the .pc file, which is really
557   bad, and breaks if there are multiple -Wl in our LDFLAGS (which are in
558   PTXdist). bug #2893592 (http://curl.haxx.se/bug/view.cgi?id=2893592)
559
560 Kamil Dudka (15 Nov 2009)
561 - David Byron improved the configure script to use pkg-config to find OpenSSL
562   (and in particular the list of required libraries) even if a path is given
563   as argument to --with-ssl
564
565 Yang Tse (15 Nov 2009)
566 - I removed enable-thread / disable-thread configure option. These were only
567   placebo options. The library is always built as thread safe as possible on
568   every system.
569
570 Claes Jakobsson (14 Nov 2009)
571 - curl-config now accepts '--configure' to see what arguments was
572   passed to the configure script when building curl.
573
574 Daniel Stenberg (14 Nov 2009)
575 - Claes Jakobsson restored the configure functionality to detect NSS when
576   --with-nss is set but not "yes".
577
578   I think we can still improve that to check for pkg-config in that path etc,
579   but at least this patch brings back the same functionality we had before.
580
581 - Camille Moncelier added support for the file type SSL_FILETYPE_ENGINE for
582   the client certificate. It also disable the key name test as some engines
583   can select a private key/cert automatically (When there is only one key
584   and/or certificate on the hardware device used by the engine)
585
586 Yang Tse (14 Nov 2009)
587 - Constantine Sapuntzakis provided the fix that ensures that an SSL connection
588   won't be reused unless protection level for peer and host verification match.
589
590   I refactored how preprocessor symbol _THREAD_SAFE definition is done.
591
592 Kamil Dudka (12 Nov 2009)
593 - Kevin Baughman provided a fix preventing libcurl-NSS from crash on doubly
594   closed NSPR descriptor. The issue was hard to find, reported several times
595   before and always closed unresolved. More info at the RH bug:
596   https://bugzilla.redhat.com/534176
597
598 - libcurl-NSS now tries to reconnect with TLS disabled in case it detects
599   a broken TLS server. However it does not happen if SSL version is selected
600   manually. The approach was originally taken from PSM. Kaspar Brand helped me
601   to complete the patch. Original bug reports:
602   https://bugzilla.redhat.com/525496
603   https://bugzilla.redhat.com/527771
604
605 Yang Tse (12 Nov 2009)
606 - I modified configure script to make the getaddrinfo function check also
607   verify if the function is thread safe.
608
609 Yang Tse (11 Nov 2009)
610 - Marco Maggi reported that compilation failed when configured --with-gssapi
611   and GNU GSS installed due to a missing mutual exclusion of header files in
612   the Kerberos 5 code path. He also verified that my patch worked for him.
613
614 Daniel Stenberg (11 Nov 2009)
615 - Constantine Sapuntzakis posted bug #2891595
616   (http://curl.haxx.se/bug/view.cgi?id=2891595) which identified how an entry
617   in the DNS cache would linger too long if the request that added it was in
618   use that long. He also provided the patch that now makes libcurl capable of
619   still doing a request while the DNS hash entry may get timed out.
620
621 - Christian Schmitz noticed that the progress meter/callback was not properly
622   used during the FTP connection phase (after the actual TCP connect), while
623   it of course should be. I also made the speed check get called correctly so
624   that really slow servers will trigger that properly too.
625
626 Kamil Dudka (5 Nov 2009)
627 - Dropped misleading timeouts in libcurl-NSS and made sure the SSL socket works
628   in non-blocking mode.
629
630 Yang Tse (5 Nov 2009)
631 - I removed leading 'curl' path on the 'curlbuild.h' include statement in
632   curl.h, adjusting auto-makefiles include path, to enhance portability to
633   OS's without an orthogonal directory tree structure such as OS/400.
634
635 Daniel Stenberg (4 Nov 2009)
636 - I fixed several problems with the transfer progress meter. It showed the
637   wrong percentage for small files, most notable for <1000 bytes and could
638   easily end up showing more than 100% at the end. It also didn't show any
639   percentage, transfer size or estimated transfer times when transferring
640   less than 100 bytes.
641
642 Version 7.19.7 (4 November 2009)
643
644 Daniel Stenberg (2 Nov 2009)
645 - As reported independent by both Stan van de Burgt and Didier Brisebourg,
646   CURLINFO_SIZE_DOWNLOAD (the -w variable size_download) didn't work when
647   getting data from ldap!
648
649 Daniel Stenberg (31 Oct 2009)
650 - Gabriel Kuri reported a problem with CURLINFO_CONTENT_LENGTH_DOWNLOAD if the
651   download was 0 bytes, as libcurl would then return the size as unknown (-1)
652   and not 0. I wrote a fix and test case 566 to verify it.
653
654 Daniel Stenberg (30 Oct 2009)
655 - Liza Alenchery mentioned a problem with re-used SCP connection when a bad
656   auth is used, as it caused a crash. I failed to repeat the issue, but still
657   made a change that now forces the TCP connection used for a freed SCP
658   session to get closed and not be re-used.
659
660 - "Tom" posted a bug report that mentioned how libcurl did wrong when doing a
661   POST using a read callback, with Digest authentication and
662   "Transfer-Encoding: chunked" enforced.  I would then cause the first request
663   to be wrongly sent and then basically hang until the server closed the
664   connection. I fixed the problem and added test case 565 to verify it.
665
666 Daniel Stenberg (25 Oct 2009)
667 - Dima Barsky made the curl cookie parser accept cookies even with blank or
668   unparsable expiry dates and then treat them as session cookies - previously
669   libcurl would reject cookies with a date format it couldn't parse. Research
670   shows that the major browser treat such cookies as session cookies. I
671   modified test 8 and 31 to verify this.
672
673 Daniel Stenberg (21 Oct 2009)
674 - Attempt to use pkg-config for finding out libssh2 installation details
675   during configure.
676
677 - A patch in bug report #2883177 (http://curl.haxx.se/bug/view.cgi?id=2883177)
678   by Johan van Selst introduced the --crlfile option to curl, which makes curl
679   tell libcurl about a file with CRL (certificate revocation list) data to
680   read.
681
682 Daniel Stenberg (18 Oct 2009)
683 - Ray Dassen provided a patch in Debian's bug tracker (bug number #551461)
684   that now makes curl_getdate(3) actually handles RFC 822 formatted dates that
685   use the "single letter military timezones".
686   http://www.rfc-ref.org/RFC-TEXTS/822/chapter5.html has the details.
687
688 - Fixed memory leak in the SCP/SFTP code as it never freed the knownhosts
689   data!
690
691 - John Dennis filed bug report #2873666
692   (http://curl.haxx.se/bug/view.cgi?id=2873666) which identified a problem
693   which made libcurl loop infinitely when given incorrect credentials when
694   using HTTP GSS negotiate authentication. He also provided a small and simple
695   patch for it.
696
697 - Kevin Baughman found a double close() problem with libcurl-NSS, as when
698   libcurl called NSS to close the SSL "session" it also closed the actual
699   socket.
700
701 Yang Tse (17 Oct 2009)
702 - Bug report #2866724 indicated
703   (http://curl.haxx.se/bug/view.cgi?id=2866724) that curl on Windows failed
704   when writing files whose file names originally contained characters which
705   are not valid for file names on Windows. Dan Fandrich provided an initial
706   patch and another revised one to fix this issue.
707
708 Daniel Stenberg (1 Oct 2009)
709 - Tom Mueller correctly reported in bug report #2870221
710   (http://curl.haxx.se/bug/view.cgi?id=2870221) that libcurl returned an
711   incorrect return code from the internal trynextip() function which caused
712   him grief. This is a regression that was introduced in 7.19.1 and I find it
713   strange it hasn't hit us harder, but I won't persue into figuring out
714   exactly why.
715
716 - Constantine Sapuntzakis: The current implementation will always set
717   SO_SNDBUF to CURL_WRITE_SIZE even if the SO_SNDBUF starts out larger.  The
718   patch doesn't do a setsockopt if SO_SNDBUF is already greater than
719   CURL_WRITE_SIZE. This should help folks who have set up their computer with
720   large send buffers.
721
722 Daniel Stenberg (27 Sep 2009)
723 - I introduced a maximum limit for received HTTP headers. It is controlled by
724   the define CURL_MAX_HTTP_HEADER which is even exposed in the public header
725   file to allow for users to fairly easy rebuild libcurl with a modified
726   limit. The rationale for a fixed limit is that libcurl is realloc()ing a
727   buffer to be able to put a full header into it, so that it can call the
728   header callback with the entire header, but that also risk getting it into
729   trouble if a server by mistake or willingly sends a header that is more or
730   less without an end. The limit is set to 100K.
731
732 Daniel Stenberg (26 Sep 2009)
733 - John P. McCaskey posted a bug report that showed how libcurl did wrong when
734   saving received cookies with no given path, if the path in the request had a
735   query part. That is means a question mark (?) and characters on the right
736   side of that. I wrote test case 1105 and fixed this problem.
737
738 Kamil Dudka (26 Sep 2009)
739 - Implemented a protocol independent way to specify blocking direction, used by
740   transfer.c for blocking. It is currently used only by SCP and SFTP protocols.
741   This enhancement resolves an issue with 100% CPU usage during SFTP upload,
742   reported by Vourhey.
743
744 Daniel Stenberg (25 Sep 2009)
745 - Chris Mumford filed bug report #2861587
746   (http://curl.haxx.se/bug/view.cgi?id=2861587) identifying that libcurl used
747   the OpenSSL function X509_load_crl_file() wrongly and failed if it would
748   load a CRL file with more than one certificate within. This is now fixed.
749
750 Daniel Stenberg (16 Sep 2009)
751 - Sven Anders reported that we introduced a cert verfication flaw for OpenSSL-
752   powered libcurl in 7.19.6. If there was a X509v3 Subject Alternative Name
753   field in the certficate it had to match and so even if non-DNS and non-IP
754   entry was present it caused the verification to fail.
755
756 Daniel Fandrich (15 Sep 2009)
757 - Moved the libssh2 checks after the SSL library checks. This helps when
758   statically linking since libssh2 needs the SSL library link flags to be
759   set up already to satisfy its dependencies. This wouldn't be necessary if
760   the libssh2 configure check was changed to use pkg-config since the
761   --static flag would add the dependencies automatically.
762
763 Yang Tse (14 Sep 2009)
764 - Revert Joshua Kwan's patch committed 11 Sep 2009.
765
766   Some systems poll function sets POLLHUP in revents without setting
767   POLLIN, and sets POLLERR without setting POLLIN and POLLOUT. In some
768   libcurl code execution paths this could trigger busy wait loops with
769   high CPU usage until a timeout condition aborted the loop.
770
771   The reverted patch addressed the above issue for a very specific case,
772   when awaiting c-ares to resolve. A libcurl-wide fix for Curl_poll now
773   superceeds this one.
774
775 Guenter Knauf (11 Sep 2009)
776 - Joshua Kwan provided a patch to pass POLLERR / POLLHUP back to c-ares.
777   This fixes a loop problem with high CPU usage.
778
779 Daniel Stenberg (10 Sep 2009)
780 - Claes Jakobsson fixed a problem with cookie expiry dates at exctly the epoch
781   start second "Thu Jan 1 00:00:00 GMT 1970" as the date parser then returns 0
782   which internally then is treated as a session cookie. That particular date
783   is now made to get the value of 1.
784
785 Daniel Stenberg (2 Sep 2009)
786 - Daniel Johnson found a flaw in the code converting sftp-errors to libcurl
787   errors.
788
789 Daniel Stenberg (1 Sep 2009)
790 - Peter Sylvester made a debug feature for Curl_resolv() that now will force
791   libcurl to resolve 'localhost' whatever name you use in the URL *if* you set
792   the --interface option to (exactly) "LocalHost". This will enable us to
793   write tests for custom hosts names but still use a local host server.
794
795 - configure now tries to use pkg-config for a number of sub-dependencies even
796   when cross-compiling. The key to success is then you properly setup
797   PKG_CONFIG_PATH before invoking configure.
798
799   I also improved how NSS is detected by trying nss-config if pkg-config isn't
800   present, and as a last resort just use the lib name and force the user to
801   setup the LIBS/LDFLAGS/CFLAGS etc properly. The previous last resort would
802   add a range of various libs that would almost never be quite correct.
803
804 Daniel Stenberg (31 Aug 2009)
805 - When using the multi interface with FTP and you asked for NOBODY, you did no
806   QUOTE commands and the request used the same path as the connection had
807   already changed to, it would decide that no commands would be necessary for
808   the "DO" action and that was not handled properly but libcurl would instead
809   hang.
810
811 Kamil Dudka (28 Aug 2009)
812 - Improved error message for not matching certificate subject name in
813   libcurl-NSS. Originally reported at:
814   https://bugzilla.redhat.com/show_bug.cgi?id=516056#c9
815
816 Patrick Monnerat (24 Aug 2009)
817 - Introduced a SYST-based test to properly set-up name format when dealing
818   with the OS/400 FTP server.
819
820 - Fixed an ftp_readresp() bug preventing detection of failing control socket
821   and causing FTP client to loop forever.
822
823 Daniel Stenberg (24 Aug 2009)
824 - Marc de Bruin pointed out that configure --with-gnutls=PATH didn't work
825   properly and provided a fix. http://curl.haxx.se/bug/view.cgi?id=2843008
826
827 - Eric Wong introduced support for the new option -T. (dot) that makes curl
828   read stdin in a non-blocking fashion. This also brings back -T- (minus) to
829   the previous blocking behavior since it could break stuff for people at
830   times.
831
832 Michal Marek (21 Aug 2009)
833 - With CURLOPT_PROXY_TRANSFER_MODE, avoid sending invalid URLs like
834   ftp://example.com;type=i if the user specified ftp://example.com without the
835   slash.
836
837 Daniel Stenberg (21 Aug 2009)
838 - Andre Guibert de Bruet pointed out a missing return code check for a
839   strdup() that could lead to segfault if it returned NULL. I extended his
840   suggest patch to now have Curl_retry_request() return a regular return code
841   and better check that.
842
843 - Lots of good work by Krister Johansen, mostly related to pipelining:
844
845   Fix SIGSEGV on free'd easy_conn when pipe unexpectedly breaks
846   Fix data corruption issue with re-connected transfers
847   Fix use after free if we're completed but easy_conn not NULL
848
849 Kamil Dudka (13 Aug 2009)
850 - Changed NSS code to not ignore the value of ssl.verifyhost and produce more
851   verbose error messages. Originally reported at:
852   https://bugzilla.redhat.com/show_bug.cgi?id=516056
853
854 Daniel Stenberg (12 Aug 2009)
855 - Karl Moerder fixed the Makefile.vc* makefiles to include the new file
856   nonblock.c so that they work fine again
857
858 - I expanded test 517 with a bunch of more dates that originate from the
859   Chrome browser test suite. It turns out most of them get parsed the same
860   way.
861
862 Version 7.19.6 (12 August 2009)
863
864 Daniel Stenberg (12 Aug 2009)
865 - Carsten Lange reported a bug and provided a patch for TFTP upload and the
866   sending of the TSIZE option. I don't like fixing bugs just hours before
867   a release, but since it was broken and the patch fixes this for him I decided
868   to get it in anyway.
869
870 Daniel Stenberg (11 Aug 2009)
871 - Peter Sylvester made the HTTPS test server use specific certificates for
872   each test, so that the test suite can now be used to actually test the
873   verification of cert names etc. This made an error show up in the OpenSSL-
874   specific code where it would attempt to match the CN field even if a
875   subjectAltName exists that doesn't match. This is now fixed and verified
876   in test 311.
877
878 - Benbuck Nason posted the bug report #2835196
879   (http://curl.haxx.se/bug/view.cgi?id=2835196), fixing a few compiler
880   warnings when mixing ints and bools.
881
882 Daniel Fandrich (10 Aug 2009)
883 - Fixed a memory leak in the FTP code and an off-by-one heap buffer overflow.
884
885 Daniel Fandrich (9 Aug 2009)
886 - Fixed some memory leaks in the command-line tool that caused most of the
887   torture tests to fail.
888
889 Daniel Stenberg (2 Aug 2009)
890 - Curt Bogmine reported a problem with SNI enabled on a particular server. We
891   should introduce an option to disable SNI, but as we're in feature freeze
892   now I've addressed the obvious bug here (pointed out by Peter Sylvester): we
893   shouldn't try to enable SNI when SSLv2 or SSLv3 is explicitly selected.
894   Code for OpenSSL and GnuTLS was fixed. NSS doesn't seem to have a particular
895   option for SNI, or are we simply not using it?
896
897 Daniel Stenberg (1 Aug 2009)
898 - Scott Cantor posted the bug report #2829955
899   (http://curl.haxx.se/bug/view.cgi?id=2829955) mentioning the recent SSL cert
900   verification flaw found and exploited by Moxie Marlinspike. The presentation
901   he did at Black Hat is available here:
902   https://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike
903
904   Apparently at least one CA allowed a subjectAltName or CN that contain a
905   zero byte, and thus clients that assumed they would never have zero bytes
906   were exploited to OK a certificate that didn't actually match the site. Like
907   if the name in the cert was "example.com\0theatualsite.com", libcurl would
908   happily verify that cert for example.com.
909
910   libcurl now better uses the length of the extracted name, not using the zero
911   termination for getting the string length.
912
913   This fixing only made and needed in OpenSSL interfacing code.
914
915 - Tanguy Fautre pointed out that OpenSSL's function RAND_screen() (present
916   only in some OpenSSL installs - like on Windows) isn't thread-safe and we
917   agreed that moving it to the global_init() function is a decent way to deal
918   with this situation.
919
920 - Alexander Beedie provided the patch for a noproxy problem: If I have set
921   CURLOPT_NOPROXY to "*", or to a host that should not use a proxy, I actually
922   could still end up using a proxy if a proxy environment variable was set.
923
924 Daniel Stenberg (27 Jul 2009)
925 - All the quote options (CURLOPT_QUOTE, CURLOPT_POSTQUOTE and
926   CURLOPT_PREQUOTE) now accept a preceeding asterisk before the command to
927   send when using FTP, as a sign that libcurl shall simply ignore the response
928   from the server instead of treating it as an error. Not treating a 400+ FTP
929   response code as an error means that failed commands will not abort the
930   chain of commands, nor will they cause the connection to get disconnected.
931
932 Daniel Stenberg (26 Jul 2009)
933 - Johan van Selst posted bug report #2825989
934   (http://curl.haxx.se/bug/view.cgi?id=2825989) pointing out that
935   OpenSSL-powered libcurl didn't support the SHA-2 digest algorithm, and
936   provided the solution too: to use OpenSSL_add_all_algorithms() in addition
937   to the older SSLeay_* alternative. OpenSSL_add_all_algorithms was added in
938   OpenSSL 0.9.5
939
940 Daniel Stenberg (23 Jul 2009)
941 - Added CURLOPT_SSH_KNOWNHOSTS, CURLOPT_SSH_KEYFUNCTION, CURLOPT_SSH_KEYDATA.
942   They introduce known_host support for SSH keys to libcurl. See docs for
943   details. Note that this feature depends on a new enough libssh2 version, to
944   be supported in libssh2 1.2 and later (or current git repo at this time).
945
946 Michal Marek (22 Jul 2009)
947 - David Binderman found a memory and fd leak in lib/gtls.c:load_file()
948   (https://bugzilla.novell.com/523919). When looking at the code, I found that
949   also the ptr pointer can leak.
950
951 Kamil Dudka (20 Jul 2009)
952 - Claes Jakobsson improved the support for client certificates handling in
953   NSS-powered libcurl. Now the client certificates can be selected
954   automatically by a NSS built-in hook. Additionally pre-login to all PKCS11
955   slots is no more performed. It used to cause problems with HW tokens.
956
957 - Fixed reference counting for NSS client certificates. Now the PEM reader
958   module should be always properly unloaded on Curl_nss_cleanup(). If the
959   unload fails though, libcurl will try to reuse the already loaded instance.
960
961 Daniel Fandrich (15 Jul 2009)
962 - Added nonblock.c to the non-automake makefiles (note that the dependencies
963   in the Watcom makefiles aren't quite correct).
964
965 Michal Marek (15 Jul 2009)
966 - Changed the description of CURLINFO_OS_ERRNO to make it clear that the
967   errno is not reset on success.
968
969 Guenter Knauf (14 Jul 2009)
970 - renamed generated config.h to curl_config.h to avoid any future clashes
971   with config.h from other projects.
972
973 Daniel Stenberg (9 Jul 2009)
974 - Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
975   setting a file descriptor non-blocking. Used by the functionality Eric
976   himself brough on June 15th.
977
978 Daniel Stenberg (8 Jul 2009)
979 - Constantine Sapuntzakis posted bug report #2813123
980   (http://curl.haxx.se/bug/view.cgi?id=2813123) and an a patch that fixes the
981   problem:
982
983   Url A is accessed using auth. Url A redirects to Url B (on a different
984   server0. Url B reuses a persistent connection. Url B has auth, even though
985   it's on a different server.
986
987   Note: if Url B does not reuse a persistent connection, auth is not sent.
988
989   reason:
990
991   data->state.first_host is not initialized becuase Curl_http_connect is not
992   called when a connection is reused.
993
994   Solution:
995
996   move initialization of data->state.first_host to Curl_http. No code before
997   Curl_http uses data->state.first_host anyway.
998
999 Guenter Knauf (4 Jul 2009)
1000 - Markus Koetter provided a patch to avoid getnameinfo() usage which broke a
1001   couple of both IPv4 and IPv6 autobuilds.
1002
1003 Daniel Stenberg (29 Jun 2009)
1004 - Markus Koetter made CURLOPT_FTPPORT (and curl's -P/--ftpport) support a port
1005   range if given colon-separated after the host name/address part. Like
1006   "192.168.0.1:2000-10000"
1007
1008 - Modified the separators used for CURLOPT_CERTINFO in multi-part outputs. I
1009   don't know how they got wrong in the first place, but using this output
1010   format makes it possible to quite easily separate the string into an array
1011   of multiple items.
1012
1013 Daniel Fandrich (16 June 2009)
1014 - Added a few more compiler warning options for gcc.
1015
1016 Daniel Stenberg (16 Jun 2009)
1017 - Reuven Wachtfogel made curl -o - properly produce a binary output on windows
1018   (no newline translations). Use -B/--use-ascii if you rather get the ascii
1019   approach.
1020
1021 Michal Marek (16 Jun 2009)
1022 - When doing non-anonymous ftp via http proxies and the password is not
1023   provided in the url, add it there (squid needs this).
1024
1025 Daniel Stenberg (15 Jun 2009)
1026 - Eric Wong's patch:
1027
1028   This allows curl(1) to be used as a client-side tunnel for arbitrary stream
1029   protocols by abusing chunked transfer encoding in both the HTTP request and
1030   HTTP response.  This requires server support for sending a response while a
1031   request is still being read, of course.
1032
1033   If attempting to read from stdin returns EAGAIN, then we pause our sender.
1034   This leaves curl to attempt to read from the socket while reading from stdin
1035   (and thus sending) is paused.
1036
1037   This change was needed to allow successfully tunneling the git protocol over
1038   HTTP (--no-buffer is needed, as well).
1039
1040 Patrick Monnerat (15 Jun 2009)
1041 - Replaced use of standard C library rand()/srand() by our own pseudo-random
1042   number generator.
1043
1044 Yang Tse (11 Jun 2009)
1045 - I adapted testcurl script to allow building test harness programs when
1046   cross-compiling for a *-*-mingw* host.
1047
1048 Daniel Stenberg (10 Jun 2009)
1049 - Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and
1050   contributed a range of patches to fix them.
1051
1052 Yang Tse (10 Jun 2009)
1053 - I introduced configure script option --enable-curldebug which now allows
1054   the decoupled enabling or disabling of the curl debug memory tracking
1055   feature from the --enable-debug option which no longer controls this.
1056
1057   curl --version will list 'Debug' feature for debug enabled builds, and
1058   will list 'TrackMemory' feature for curl debug memory tracking capable
1059   builds. These features are independent and can be controlled when running
1060   the configure script. When --enable-debug is given both features will be
1061   enabled, unless some restriction prevents memory tracking from being used.
1062
1063   Internally, definition of preprocessor symbol DEBUGBUILD restricts code
1064   which is only compiled for debug enabled builds. And symbol CURLDEBUG is
1065   used to differentiate code which is _only_ used for memory tracking.
1066
1067 Yang Tse (9 Jun 2009)
1068 - Daniel Steinberg pointed out that Curl_FormInit() in formdata.c was not
1069   initializing the fread callback pointer and this triggered a compiler
1070   warning, also provided a friendly suggestion on how to fix it.
1071
1072 Daniel Stenberg (8 Jun 2009)
1073 - Claes Jakobsson provided a patch for libcurl-NSS that fixed a bad refcount
1074   issue with client certs that caused issues like segfaults.
1075   http://curl.haxx.se/mail/lib-2009-05/0316.html
1076
1077 - Triggered by bug report #2798852 and the patch in there, I fixed configure
1078   to detect gnutls build options with pkg-config only and not libgnutls-config
1079   anymore since GnuTLS has stopped distributing that tool. If an explicit path
1080   is given to configure, we will instead guess on how to link and use that
1081   lib. I did not use the patch from the bug report.
1082
1083 Yang Tse (8 Jun 2009)
1084 - Igor Novoseltsev adjusted Makefile.vxworks to get sources and headers
1085   included from Makefile.inc, and provided docs\INSTALL VxWorks section.
1086
1087 - I removed buildconf.bat from release and daily snapshot archives. This
1088   file is only for CVS tree checkout builds.
1089
1090 Daniel Stenberg (8 Jun 2009)
1091 - Eric Wong fixed --no-buffer to actually switch off output buffering. Been
1092   broken since 7.19.0
1093
1094 Bill Hoffman (6 Jun 2009)
1095 - Added some cmake docs and fixed socklen_t in the build.
1096
1097 Yang Tse (5 Jun 2009)
1098 - John E. Malmberg provided VMS specific patch: "This fixes an existing bug
1099   in urlglob.c where it was not converting the Curl Unix exit code to a VMS
1100   DCL compatible exit code.  This fix required the enhancement described next.
1101   This also adds an enhancement to main.c so that when curl is run under a
1102   Unix shell like Bash on VMS, it will return the standard Unix exit codes
1103   and messages." And another patch for docs/examples.
1104
1105   I introduced os-specific.c and os-specific.h for use in curl tool code
1106   and adjusted John E. Malmberg's patch placement to use these new files
1107   as an effort to prevent main.c from growing ad infinitum. Code already
1108   existing in main.c which is OS specific should be moved into these files.
1109
1110 Daniel Stenberg (4 June 2009)
1111 - Setting the Content-Length: header from your app when you do a POST or PUT
1112   is almost always a VERY BAD IDEA. Yet there are still apps out there doing
1113   this, and now recently it triggered a bug/side-effect in libcurl as when
1114   libcurl sends a POST or PUT with NTLM, it sends an empty post first when it
1115   knows it will just get a 401/407 back. If the app then replaced the
1116   Content-Length header, it caused the server to wait for input that libcurl
1117   wouldn't send. Aaron Oneal reported this problem in bug report #2799008
1118   (http://curl.haxx.se/bug/view.cgi?id=2799008) and helped us verify the fix.
1119
1120 Yang Tse (4 Jun 2009)
1121 - Igor Novoseltsev provided patches and information, that after some
1122   adjustments to better fit curl's way of doing things, have resulted
1123   in the posibility of building libcurl for VxWorks.
1124
1125 Daniel Fandrich (2 June 2009)
1126 - Checked in a Google Android make file. To use it, you must first
1127   create a config.h file by running configure in the Android environment,
1128   which doesn't seem to be easy to do. If no easy way can be found, a
1129   static config-android.h may need to be created and checked in to the
1130   libcurl source tree.
1131
1132 Daniel Stenberg (1 June 2009)
1133 - Claes Jakobsson fixed the configure script to better find and use NSS
1134   without pkg-config.
1135
1136 Yang Tse (1 Jun 2009)
1137 - John E. Malmberg provided a VMS specific clean-up for curl.h, and pointed
1138   out that the configure script was failing to detect the timeval struct on
1139   VMS when building with _XOPEN_SOURCE_EXTENDED undefined due to definition
1140   taking place in socket.h instead of time.h.  I have adjusted configure
1141   script to also include this header when checking struct timeval.
1142
1143 Daniel Stenberg (27 May 2009)
1144 - Frank McGeough provided a small OpenSSL #include fix to make libcurl compile
1145   fine with Nokia 5th edition 1.0 SDK for Symbian.
1146
1147 - Andre Guibert de Bruet found a call to a OpenSSL function that didn't check
1148   for a failure properly.
1149
1150 - Mike Crowe pointed out that setting CURLOPT_USERPWD to NULL used to clear
1151   the auth credentials back in 7.19.0 and earlier while now you have to set ""
1152   to get the same effect. His patch brings back the ability to use NULL.
1153
1154 - Claes Jakobsson fixed libcurl-NSS to build fine even without the
1155   PK11_CreateGenericObject() function.
1156
1157 Daniel Stenberg (25 May 2009)
1158 - bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointed
1159   out that the cookie parser would leak memory when it parses cookies that are
1160   received with domain, path etc set multiple times in the same header. While
1161   such a cookie is questionable, they occur in the wild and libcurl no longer
1162   leaks memory for them. I added such a header to test case 8.
1163
1164 Daniel Fandrich (22 May 2009)
1165 - Removed some obsolete digest code that caused a valgrind error in test 551.
1166
1167 Daniel Fandrich (20 May 2009)
1168 - Added "non-existing host" test keywords to make it easy to skip those
1169   tests on machines that have broken DNS configurations (such as
1170   those configured to use OpenDNS).
1171
1172 Daniel Stenberg (19 May 2009)
1173 - Kamil Dudka brought the patch from the Redhat bug entry
1174   https://bugzilla.redhat.com/show_bug.cgi?id=427966 which was libcurl closing
1175   a bad file descriptor when closing down the FTP data connection.  Caolan
1176   McNamara seems to be the original author of it.
1177
1178 Version 7.19.5 (18 May 2009)
1179
1180 Daniel Stenberg (17 May 2009)
1181 - James Bursa posted a patch to the mailing list that fixed a problem with
1182   no_proxy which made it not skip the proxy if the URL entered contained a
1183   user name. I added test case 1101 to verify.
1184
1185 Daniel Stenberg (11 May 2009)
1186 - Balint Szilakszi reported a memory leak when libcurl did gzip decompression
1187   of streams that had some parts (legitimately) missing. We now provide and use
1188   a proper cleanup function for the content encoding submodule.
1189   http://curl.haxx.se/mail/lib-2009-05/0092.html
1190
1191 - Kamil Dudka provided a fix for libcurl-NSS reported by Michael Cronenworth
1192   at https://bugzilla.redhat.com/show_bug.cgi?id=453612#c12
1193
1194   If an incorrect password is given while loading a private key, libcurl ends
1195   up in an infinite loop consuming memory. The bug is critical.
1196
1197 - I fixed the problem with doing NTLM, POST and then following a 302 redirect,
1198   as reported by Ebenezer Ikonne (on curl-users) and Laurent Rabret (on
1199   curl-library). The transfer was mistakenly marked to get more data to send
1200   but since it didn't actually have that, it just hung there...
1201
1202 Daniel Stenberg (10 May 2009)
1203 - Andre Guibert de Bruet correctly pointed out an over-alloc with one wasted
1204   byte in the digest code.
1205
1206 Yang Tse (9 May 2009)
1207 - Removed DOS and TPF package's subdirectory Makefile.am, it was only used
1208   to include some files in the distribution tarball serving no other purpose.
1209   Files from the DOS and TPF subdirectories are now included in the EXTRA_DIST
1210   of the Makefile in the parent subdirectory.
1211
1212 Yang Tse (8 May 2009)
1213 - Changed host name literal in several tests to one under the haxx.se domain.
1214
1215 - Renamed vc6 workspace and project files to avoid filename clash when used
1216   for conversion to later VS versions.
1217
1218 Daniel Stenberg (8 May 2009)
1219 - Constantine Sapuntzakis fixed bug report #2784055
1220   (http://curl.haxx.se/bug/view.cgi?id=2784055) identifying a problem to
1221   connect to SOCKS proxies when using the multi interface. It turned out to
1222   almost not work at all previously. We need to wait for the TCP connect to
1223   be properly verified before doing the SOCKS magic.
1224
1225   There's still a flaw in the FTP code for this.
1226
1227 Daniel Stenberg (7 May 2009)
1228 - Made the SO_SNDBUF setting for the data connection socket for ftp uploads as
1229   well. See change 28 Apr 2009.
1230
1231 Yang Tse (7 May 2009)
1232 - Fixed an issue affecting FTP transfers, introduced with the transfer.c
1233   patch committed May 4.
1234
1235 Daniel Stenberg (7 May 2009)
1236 - Man page *roff problems fixed thanks to input from Colin Watson. Problems
1237   reported in the Debian package.
1238
1239 - Vijay G filed bug report #2723236
1240   (http://curl.haxx.se/bug/view.cgi?id=2723236) identifying a problem with
1241   libcurl's TFTP code and its lack of dealing with the OACK packet.
1242
1243 Yang Tse (5 May 2009)
1244 - Fixed the --ftp-port address of test #251 to the CLIENTIP address, and
1245   reverted the change affecting test suite harness committed 4 May.
1246
1247 Daniel Stenberg (5 May 2009)
1248 - Inspired by Michael Smith's session id fix for OpenSSL, I did the
1249   corresponding fix in the GnuTLS code: make sure to store the new session id
1250   in case the previous re-used one is rejected.
1251
1252 Daniel Stenberg (4 May 2009)
1253 - Michael Smith posted bug report #2786255
1254   (http://curl.haxx.se/bug/view.cgi?id=2786255) with a patch, identifying how
1255   libcurl did not deal with SSL session ids properly if the server rejected a
1256   re-use of one. Starting now, it will forget the rejected one and remember
1257   the new. This change was for OpenSSL only, it is likely that other SSL lib
1258   code needs similar fixes.
1259
1260 Yang Tse (4 May 2009)
1261 - Applied David McCreedy's "transfer.c fixes for CURL_DO_LINEEND_CONV and
1262   non-ASCII platform HTTP requests" patch addressing two HTTP PUT problems:
1263   1) On non-ASCII platforms not all of the protocol portions of the PUT are
1264   being translated to ASCII.  2) On all platforms the line endings of part of
1265   the protocol portions are mangled from CRLF to CRCRLF if data->set.crlf or
1266   data->set.prefer_ascii are set (depending on CURL_DO_LINEEND_CONV).
1267
1268 - Applied David McCreedy's patch to fix test suite harness to allow test FTP
1269   server and client on different machines, providing FTP client address when
1270   running the FTP test server.
1271
1272 Daniel Fandrich (3 May 2009)
1273 - Added and disabled test case 563 which shows KNOWN_BUGS #59.  The bug
1274   report failed to mention that a proxy must be used to reproduce it.
1275
1276 Yang Tse (2 May 2009)
1277 - Use a build-time configured curl_socklen_t data type instead of socklen_t.
1278
1279 Yang Tse (1 May 2009)
1280 - Applied David McCreedy's patches "TPF-platform specific changes to various
1281   files" and "http.c fix to Curl_proxyCONNECT for non-ASCII platforms", the
1282   former with minor edits.
1283
1284 Daniel Stenberg (30 Apr 2009)
1285 - I was going to fix issue #59 in KNOWN_BUGS
1286
1287   If the CURLOPT_PORT option is used on an FTP URL like
1288   "ftp://example.com/file;type=A" the ";type=A" is stripped off.
1289
1290   I added test case 562 to verify, only to find out that I couldn't repeat
1291   this bug so I hereby consider it not a bug anymore!
1292
1293 Daniel Stenberg (29 Apr 2009)
1294 - Based on bug report #2723219 (http://curl.haxx.se/bug/view.cgi?id=2723219)
1295   I've now made TFTP "connections" not being kept for re-use within libcurl.
1296   TFTP is UDP-based so the benefit was really low (if even existing) to begin
1297   with so instead of tracking down to fix this problem we instead removed the
1298   re-use. I also enabled test case 1099 that I wrote a few days ago to verify
1299   that this change fixes the reported problem.
1300
1301 Daniel Stenberg (28 Apr 2009)
1302 - Constantine Sapuntzakis filed bug report #2783090
1303   (http://curl.haxx.se/bug/view.cgi?id=2783090) pointing out that on windows
1304   we need to grow the SO_SNDBUF buffer somewhat to get really good upload
1305   speeds. http://support.microsoft.com/kb/823764 has the details. Friends
1306   confirmed that simply adding 32 to CURL_MAX_WRITE_SIZE is enough.
1307
1308 - Bug report #2709004 (http://curl.haxx.se/bug/view.cgi?id=2709004) by Tim
1309   Chen pointed out how curl couldn't upload with resume when reading from a
1310   pipe.
1311
1312   This ended up with the introduction of a new return code for the
1313   CURLOPT_SEEKFUNCTION callback that basically says that the seek failed but
1314   that libcurl may try to resolve the situation anyway. In our case this means
1315   libcurl will attempt to instead read that much data from the stream instead
1316   of seeking and that way curl can now upload with resume when data is read
1317   from a stream!
1318
1319 Daniel Stenberg (26 Apr 2009)
1320 - Bug report #2779733 (http://curl.haxx.se/bug/view.cgi?id=2779733) by Sven
1321   Wegener pointed out that CURLINFO_APPCONNECT_TIME didn't work with the multi
1322   interface and provided a patch that fixed the problem!
1323
1324 Daniel Stenberg (24 Apr 2009)
1325 - Kamil Dudka fixed another NSS-related leak when client certs were used.
1326
1327 - Bug report #2779245 (http://curl.haxx.se/bug/view.cgi?id=2779245) by Rainer
1328   Koenig pointed out that the man page didn't tell that the *_proxy
1329   environment variables can be specified lower case or UPPER CASE and the
1330   lower case takes precedence,
1331
1332 Daniel Fandrich (21 Apr 2009)
1333 - Added new libcurl source files to Amiga, RiscOS and VC6 build files.
1334
1335 Yang Tse (21 Apr 2009)
1336 - Moved potential inclusion of system's malloc.h and memory.h header files to
1337   setup_once.h.  Inclusion of each header file is based on the definition of
1338   NEED_MALLOC_H and NEED_MEMORY_H respectively.
1339
1340   Renamed libcurl's memory.h to curl_memory.h
1341
1342 Daniel Stenberg (20 Apr 2009)
1343 - Leanic Lefever reported a crash and did some detailed research on why and
1344   how it occurs (http://curl.haxx.se/mail/lib-2009-04/0289.html). The
1345   conclusion was that if an error is detected and Curl_done() is called for
1346   the connection, ftp_done() could at times return another error code that
1347   then would take precedence and that new code confused existing logic that
1348   works for the first error code (CURLE_SEND_ERROR) only.
1349
1350 - Gisle Vanem noticed that --libtool would produce bogus strings at times for
1351   OBJECTPOINT options. Now we've introduced a new function - my_setopt_str -
1352   within the app for setting plain string options to avoid the risk of this
1353   mistake happening.
1354
1355 Daniel Stenberg (17 Apr 2009)
1356 - Pramod Sharma reported and tracked down a bug when doing FTP over a HTTP
1357   proxy. libcurl would then wrongly close the connection after each
1358   request. In his case it had the weird side-effect that it killed NTLM auth
1359   for the proxy causing an inifinite loop!
1360
1361   I added test case 1098 to verify this fix. The test case does however not
1362   properly verify that the transfers are done persistently - as I couldn't
1363   think of a clever way to achieve it right now - but you need to read the
1364   stderr output after a test run to see that it truly did the right thing.
1365
1366 Daniel Stenberg (13 Apr 2009)
1367 - bug report #2727981 (http://curl.haxx.se/bug/view.cgi?id=2727981) by Martin
1368   Storsjö pointed out how setting CURLOPT_NOBODY to 0 could be downright
1369   confusing as it set the method to either GET or HEAD. The example he showed
1370   looked like:
1371
1372    curl_easy_setopt(curl, CURLOPT_PUT, 1);
1373    curl_easy_setopt(curl, CURLOPT_NOBODY, 0);
1374
1375   The new way doesn't alter the method until the request is about to start. If
1376   CURLOPT_NOBODY is then 1 the HTTP request will be HEAD. If CURLOPT_NOBODY is
1377   0 and the request happens to have been set to HEAD, it will then instead be
1378   set to GET. I believe this will be less surprising to users, and hopefully
1379   not hit any existing users badly.
1380
1381 - Toshio Kuratomi reported a memory leak problem with libcurl+NSS that turned
1382   out to be leaking cacerts. Kamil Dudka helped me complete the fix. The issue
1383   is found in Redhat's bug tracker:
1384   https://bugzilla.redhat.com/show_bug.cgi?id=453612
1385
1386   There are still memory leaks present, but they seem to have other reasons.
1387
1388 Daniel Fandrich (11 Apr 2009)
1389 - Added new libcurl source files to Symbian OS build files.
1390 - Improved Symbian support for SSL.
1391
1392 Yang Tse (10 Apr 2009)
1393 - Daniel Johnson improved the MacOSX-Framework shell script to now perform all
1394   the steps required to build a Mac OS X four way fat ppc/i386/ppc64/x86_64
1395   libcurl.framework.  Four way fat framework requires OS X 10.5 SDK or later.
1396
1397 Yang Tse (8 Apr 2009)
1398 - Removed Sun compilers preprocessor block from curlbuild.h.dist, this also
1399   removes it from the curlbuild.h file originally distributed by the cURL
1400   project as this file is intended for systems not capable of running the
1401   configure script.  For those who have been building curl out of the source
1402   code curl distribution tarball provided by curl.haxx.se the change implies
1403   nothing.  Previous change in this area committed 2 Apr becomes irrelevant.
1404
1405 Daniel Stenberg (6 Apr 2009)
1406 - I clarified in the docs that CURLOPT_SEEKFUNCTION should return 0 on success
1407   and 1 on fatal errors. Previously it only mentioned non-zero on fatal
1408   errors. This is a slight change in meaning, but it follows what we've done
1409   elsewhere before and it opens up for LOTS of more useful return codes
1410   whenever we can think of them...
1411
1412 Yang Tse (2 Apr 2009)
1413 - Fix curl_off_t definition for builds done using Sun compilers and a
1414   non-configured libcurl. In this case curl_off_t data type was gated
1415   to the off_t data type which depends on the _FILE_OFFSET_BITS. This
1416   configuration is exactly the unwanted configuration for our curl_off_t
1417   data type which must not depend on such setting. This breaks ABI for
1418   libcurl libraries built with Sun compilers which were built without
1419   having run the configure script with _FILE_OFFSET_BITS different than
1420   64 and using the ILP32 data model.
1421
1422 Daniel Stenberg (1 Apr 2009)
1423 - Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a
1424   strdup() call failed.
1425
1426 Daniel Fandrich (31 Mar 2009)
1427 - Properly return an error code in curl_easy_recv (reported by Jim Freeman).
1428
1429 Daniel Stenberg (18 Mar 2009)
1430 - Kamil Dudka brought a patch that enables 6 additional crypto algorithms when
1431   NSS is used. These ciphers were added in NSS 3.4 and require to be enabled
1432   explicitly.
1433
1434 Daniel Stenberg (13 Mar 2009)
1435 - Use libssh2_version() to present the libssh2 version in case the libssh2
1436   library is found to support it.
1437
1438 Yang Tse (12 Mar 2009)
1439 - Added missing Curl_read() return code checking in TELNET transfers.
1440
1441 - Pierre Brico found and fixed TELNET transfers not being aborted upon
1442   a write callback failure.
1443
1444 Daniel Stenberg (11 Mar 2009)
1445 - Kamil Dudka made the curl tool properly call curl_global_init() before any
1446   other libcurl function.
1447
1448 Yang Tse (11 Mar 2009)
1449 - Added missing TELNET timeout support for Windows builds. This issue was
1450   reported by Pierre Brico.
1451
1452 Daniel Stenberg (9 Mar 2009)
1453 - Frank Hempel found out a bug and provided the fix:
1454
1455   curl_easy_duphandle did not necessarily duplicate the CURLOPT_COOKIEFILE
1456   option. It only enabled the cookie engine in the destination handle if
1457   data->cookies is not NULL (where data is the source handle). In case of a
1458   newly initialized handle which just had the cookie support enabled by a
1459   curl_easy_setopt(handle, CURL_COOKIEFILE, "")-call, handle->cookies was
1460   still NULL because the setopt-call only appends the value to
1461   data->change.cookielist, hence duplicating this handle would not have the
1462   cookie engine switched on.
1463
1464   We also concluded that the slist-functionality would be suitable for being
1465   put in its own module rather than simply hanging out in lib/sendf.c so I
1466   created lib/slist.[ch] for them.
1467
1468 - Andreas Farber made the 'buildconf' script check for the presence of m4
1469   scripts to make it detect a bad checkout earlier. People with older
1470   checkouts who don't do cvs update with the -d option won't get the new dirs
1471   and then will get funny outputs that can be a bit hard to understand and
1472   fix.
1473
1474 Daniel Stenberg (8 Mar 2009)
1475 - Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the
1476   allocation of the memory BIO was not being properly checked.
1477
1478 - Andre Guibert de Bruet fixed the gnutls-using code: There are a few places
1479   in the gnutls code where we were checking for negative values for errors,
1480   when the man pages state that GNUTLS_E_SUCCESS is returned on success and
1481   other values indicate error conditions.
1482
1483 - Bill Egert pointed out (http://curl.haxx.se/bug/view.cgi?id=2671602) that
1484   curl didn't use sprintf() in a way that is documented to work in POSIX but
1485   since we use our own printf() code (from libcurl) that shouldn't be a
1486   problem. Nonetheless I modified the code to not rely on such particular
1487   features and to not cause further raised eyebrowse with no good reason.
1488
1489 Daniel Fandrich (5 Mar 2009)
1490 - Expanded the security section of the libcurl-tutorial man page to cover
1491   more issues for authors to consider when writing robust libcurl-using
1492   applications.
1493
1494 Yang Tse (5 Mar 2009)
1495 - Fixed NTLM authentication memory leak on SSPI enabled Windows builds. This
1496   issue was noticed by Chris Deidun.
1497
1498 Daniel Fandrich (4 Mar 2009)
1499 - Fixed a problem with m4 quoting in the OpenSSL configure check reported
1500   by Daniel Johnson.
1501
1502 Daniel Stenberg (3 Mar 2009)
1503 - David James brought a patch that make libcurl close (all) dead connections
1504   whenever you attempt to open a new connection.
1505
1506   1. After cleaning up a dead connection, "continue" instead of
1507      returning FALSE. This ensures that we clean up all dead connections,
1508      rather than just cleaning up the first dead connection.
1509   2. Move up the cleanup for dead connections so that it occurs for
1510      all connections, rather than just the connections which have the same
1511      preferences as our current new connection.
1512
1513 Version 7.19.4 (3 March 2009)
1514
1515 Daniel Stenberg (3 Mar 2009)
1516 - David Kierznowski notified us about a security flaw
1517   (http://curl.haxx.se/docs/adv_20090303.html also known as CVE-2009-0037) in
1518   which previous libcurl versions (by design) can be tricked to access an
1519   arbitrary local/different file instead of a remote one when
1520   CURLOPT_FOLLOWLOCATION is enabled. This flaw is now fixed in this release
1521   together this the addition of two new setopt options for controlling this
1522   new behavior:
1523
1524   o CURLOPT_REDIR_PROTOCOLS controls what protocols libcurl is allowed to
1525   follow to when CURLOPT_FOLLOWLOCATION is enabled. By default, this option
1526   excludes the FILE and SCP protocols and thus you nee to explicitly allow
1527   them in your app if you really want that behavior.
1528
1529   o CURLOPT_PROTOCOLS controls what protocol(s) libcurl is allowed to fetch
1530   using the primary URL option. This is useful if you want to allow a user or
1531   other outsiders control what URL to pass to libcurl and yet not allow all
1532   protocols libcurl may have been built to support.
1533
1534 Daniel Stenberg (27 Feb 2009)
1535 - Senthil Raja Velu reported a problem when CURLOPT_INTERFACE and
1536   CURLOPT_LOCALPORT were used together (the local port bind failed), and
1537   Markus Koetter provided the fix!
1538
1539 Daniel Stenberg (25 Feb 2009)
1540 - As Daniel Fandrich figured out, we must do the GnuTLS initing in the
1541   curl_global_init() function to properly maintain the performing functions
1542   thread-safe. We've previously (28 April 2007) moved the init to a later time
1543   just to avoid it to fail very early when libgcrypt dislikes the situation,
1544   but that move was bad and the fix should rather be in libgcrypt or
1545   elsewhere.
1546
1547 Daniel Stenberg (24 Feb 2009)
1548 - Brian J. Murrell found out that Negotiate proxy authentication didn't work.
1549   It happened because the code used the struct for server-based auth all the
1550   time for both proxy and server auth which of course was wrong.
1551
1552 Daniel Stenberg (23 Feb 2009)
1553 - After a bug reported by James Cheng I've made curl_easy_getinfo() for
1554   CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD return
1555   -1 if the sizes aren't know. Previously these returned 0, make it impossible
1556   to detect the difference between actually zero and unknown.
1557
1558 Yang Tse (23 Feb 2009)
1559 - Daniel Johnson provided a shell script that will perform all the steps needed
1560   to build a Mac OS X fat ppc/i386 or ppc64/x86_64 libcurl.framework
1561
1562 Daniel Stenberg (23 Feb 2009)
1563 - I renamed everything in the windows builds files that used the name 'curllib'
1564   to the proper 'libcurl' as clearly this caused confusion.
1565
1566 Yang Tse (20 Feb 2009)
1567 - Do not halt compilation when using VS2008 to build a Windows 2000 target.
1568
1569 Daniel Stenberg (20 Feb 2009)
1570 - Linus Nielsen Feltzing reported and helped me repeat and fix a problem with
1571   FTP with the multi interface: when a transfer fails, like when aborted by a
1572   write callback, the control connection was wrongly closed and thus not
1573   re-used properly.
1574
1575   This change is also an attempt to cleanup the code somewhat in this area, as
1576   now the FTP code attempts to keep (better) track on pending responses
1577   necessary to get read in ftp_done().
1578
1579 Daniel Stenberg (19 Feb 2009)
1580 - Patrik Thunstrom reported a problem and helped me repeat it. It turned out
1581   libcurl did a superfluous 1000ms wait when doing SFTP downloads!
1582
1583   We read data with libssh2 while doing the "DO" operation for SFTP and then
1584   when we were about to start getting data for the actual file part, the
1585   "TRANSFER" part, we waited for socket action (in 1000ms) before doing a
1586   libssh2-read. But in this case libssh2 had already read and buffered the
1587   data so we ended up always just waiting 1000ms before we get working on the
1588   data!
1589
1590 Patrick Monnerat (18 Feb 2009)
1591 - FTP downloads (i.e.: RETR) ending with code 550 now return error
1592   CURLE_REMOTE_FILE_NOT_FOUND instead of CURLE_FTP_COULDNT_RETR_FILE.
1593
1594 Daniel Stenberg (17 Feb 2009)
1595 - Kamil Dudka made NSS-powered builds compile and run again!
1596
1597 - A second follow-up change by Andre Guibert de Bruet to fix a related memory
1598   leak like that fixed on the 14th. When zlib returns failure, we need to
1599   cleanup properly before returning error.
1600
1601 - CURLOPT_FTP_CREATE_MISSING_DIRS can now be set to 2 in addition to 1 for
1602   plain FTP connections, and it will then allow MKD to fail once and retry the
1603   CWD afterwards. This is especially useful if you're doing many simultanoes
1604   connections against the same server and they all have this option enabled,
1605   as then CWD may first fail but then another connection does MKD before this
1606   connection and thus MKD fails but trying CWD works! The numbers can
1607   (should?) now be set with the convenience enums now called
1608   CURLFTP_CREATE_DIR and CURLFTP_CREATE_DIR_RETRY.
1609
1610   Tests has proven that if you're making an application that uploads a set of
1611   files to an ftp server, you will get a noticable gain in speed if you're
1612   using multiple connections and this option will be then be very useful.
1613
1614 Daniel Stenberg (14 Feb 2009)
1615 - Andre Guibert de Bruet found and fixed a memory leak in the content encoding
1616   code, which could happen on libz errors.
1617
1618 Daniel Fandrich (12 Feb 2009)
1619 - Added support for Digest and NTLM authentication using GnuTLS.
1620
1621 Daniel Stenberg (11 Feb 2009)
1622 - CURLINFO_CONDITION_UNMET was added to allow an application to get to know if
1623   the condition in the previous request was unmet. This is typically a time
1624   condition set with CURLOPT_TIMECONDITION and was previously not possible to
1625   reliably figure out. From bug report #2565128
1626   (http://curl.haxx.se/bug/view.cgi?id=2565128) filed by Jocelyn Jaubert.
1627
1628 Daniel Fandrich (4 Feb 2009)
1629 - Don't add the standard /usr/lib or /usr/include paths to LDFLAGS and CPPFLAGS
1630   (respectively) when --with-ssl=/usr is used (patch based on FreeBSD).
1631
1632 - Added an explicit buffer limit check in msdosify() (patch based on FreeBSD).
1633   This couldn't ever overflow in curl, but might if the code were used
1634   elsewhere or under different conditions.
1635
1636 Daniel Stenberg (3 Feb 2009)
1637 - Hidemoto Nakada provided a small fix that makes it possible to get the
1638   CURLINFO_CONTENT_LENGTH_DOWNLOAD size from file:// "transfers" with
1639   CURLOPT_NOBODY set true.
1640
1641 Daniel Stenberg (2 Feb 2009)
1642 - Patrick Scott found a rather large memory leak when using the multi
1643   interface and setting CURLMOPT_MAXCONNECTS to something less than the number
1644   of handles you add to the multi handle. All the connections that didn't fit
1645   in the cache would not be properly disconnected nor freed!
1646
1647 - Craig A West brought us: libcurl now defaults to do CONNECT with HTTP
1648   version 1.1 instead of 1.0 like before. This change also introduces the new
1649   proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to
1650   switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0
1651   option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0.
1652
1653   I updated all test cases cases that use CONNECT and I tried to do some using
1654   --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
1655
1656 Daniel Stenberg (31 Jan 2009)
1657 - When building with c-ares 1.6.1 (not yet released) or later and IPv6 support
1658   enabled, we can now take advantage of its brand new AF_UNSPEC support in
1659   ares_gethostbyname(). This makes test case 241 finally run fine for me with
1660   this setup since it now parses the "::1 ip6-localhost" line fine in my
1661   /etc/hosts file!
1662
1663 Daniel Stenberg (30 Jan 2009)
1664 - Scott Cantor filed bug report #2550061
1665   (http://curl.haxx.se/bug/view.cgi?id=2550061) mentioning that I failed to
1666   properly make sure that the VC9 makefiles got included in the latest
1667   release. I've now fixed the release script and verified it so next release
1668   will hopefully include them properly!
1669
1670 Daniel Fandrich (30 Jan 2009)
1671 - Fixed --disable-proxy for FTP and SOCKS. Thanks to Daniel Egger for
1672   reporting.
1673
1674 Yang Tse (29 Jan 2009)
1675 - Introduced curl_sspi.c and curl_sspi.h for the implementation of functions
1676   Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were
1677   named Curl_ntlm_global_init() and Curl_ntlm_global_cleanup() in http_ntlm.c
1678   Also adjusted socks_sspi.c to remove the link-time dependency on the Windows
1679   SSPI library using it now in the same way as it was done in http_ntlm.c.
1680
1681 Daniel Stenberg (28 Jan 2009)
1682 - Markus Moeller introduced two new options to libcurl:
1683   CURLOPT_SOCKS5_GSSAPI_SERVICE and CURLOPT_SOCKS5_GSSAPI_NEC to allow libcurl
1684   to do GSS-style authentication with SOCKS5 proxies. The curl tool got the
1685   options called --socks5-gssapi-service and --socks5-gssapi-nec to enable
1686   these.
1687
1688 Daniel Stenberg (26 Jan 2009)
1689 - Chad Monroe provided the new CURLOPT_TFTP_BLKSIZE option that allows an app
1690   to set desired block size to use for TFTP transfers instead of the default
1691   512 bytes.
1692
1693 - The "-no_ticket" option was introduced in Openssl0.9.8j. It's a flag to
1694   disable "rfc4507bis session ticket support".  rfc4507bis was later turned
1695   into the proper RFC5077 it seems: http://tools.ietf.org/html/rfc5077
1696
1697   The enabled extension concerns the session management. I wonder how often
1698   libcurl stops a connection and then resumes a TLS session. also, sending the
1699   session data is some overhead. .I suggest that you just use your proposed
1700   patch (which explicitly disables TICKET).
1701
1702   If someone writes an application with libcurl and openssl who wants to
1703   enable the feature, one can do this in the SSL callback.
1704
1705   Sharad Gupta brought this to my attention. Peter Sylvester helped me decide
1706   on the proper action.
1707
1708 - Alexey Borzov filed bug report #2535504
1709   (http://curl.haxx.se/bug/view.cgi?id=2535504) pointing out that realms with
1710   quoted quotation marks in HTTP Digest headers didn't work. I've now added
1711   test case 1095 that verifies my fix.
1712
1713 - Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option.
1714   They basically offer the same thing the NO_PROXY environment variable only
1715   offered previously: list a set of host names that shall not use the proxy
1716   even if one is specified.
1717
1718 Daniel Fandrich (20 Jan 2009)
1719 - Call setlocale() for libtest tests to test the effects of locale-induced
1720   libc changes on libcurl.
1721
1722 - Fixed a couple more locale-dependent toupper conversions, mainly for
1723   clarity.  This does fix one problem that causes ;type=i FTP URLs
1724   to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is
1725   used (test case 561)
1726
1727 - Added tests 561 and 1091 through 1094 to test various combinations
1728   of ;type= and ;mode= URLs that could potentially fail in the Turkish
1729   locale.
1730
1731 Daniel Stenberg (20 Jan 2009)
1732 - Lisa Xu pointed out that the ssh.obj file was missing from the
1733   lib/Makefile.vc6 file (and thus from the vc8 and vc9 ones too).
1734
1735 Version 7.19.3 (19 January 2009)
1736
1737 Daniel Stenberg (16 Jan 2009)
1738 - Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both
1739   32 bit and 64 bit.
1740
1741 Daniel Stenberg (15 Jan 2009)
1742 - Tim Ansell fixed a compiler warning in lib/cookie.c
1743
1744 Daniel Stenberg (14 Jan 2009)
1745 - Grant Erickson fixed timeouts for TFTP such that specifying a
1746   connect-timeout, a max-time or both options work correctly and as expected
1747   by passing the correct boolean value to Curl_timeleft via the
1748   'duringconnect' parameter.
1749
1750   With this small change, curl TFTP now behaves as expected (and likely as
1751   originally-designed):
1752
1753   1) For non-existent or unreachable dotted IP addresses:
1754
1755    a) With no options, follows the default curl 300s timeout...
1756    b) With --connect-timeout only, follows that value...
1757    c) With --max-time only, follows that value...
1758    d) With both --connect-timeout and --max-time, follows the smaller value...
1759
1760    and times out with a "curl: (7) Couldn't connect to server" error.
1761
1762   2) For transfers to/from a valid host:
1763
1764    a) With no options, follows default curl 300s timeout for the
1765       first XRQ/DATA/ACK transaction and the default TFTP 3600s
1766       timeout for the remainder of the transfer...
1767
1768    b) With --connect-time only, follows that value for the
1769       first XRQ/DATA/ACK transaction and the default TFTP 3600s
1770       timeout for the remainder of the transfer...
1771
1772    c) With --max-time only, follows that value for the first
1773       XRQ/DATA/ACK transaction and for the remainder of the
1774       transfer...
1775
1776    d) With both --connect-timeout and --max-time, follows the former
1777       for the first XRQ/DATA/ACK transaction and the latter for the
1778       remainder of the transfer...
1779
1780    and times out with a "curl: (28) Timeout was reached" error as
1781    appropriate.
1782
1783 Daniel Stenberg (13 Jan 2009)
1784 - Michael Wallner fixed a NULL pointer deref when calling
1785   curl_easy_setup(curl, CURLOPT_COOKIELIST, "SESS") on a CURL handle with no
1786   cookies data.
1787
1788 - Stefan Teleman brought a patch to fix the default curlbuild.h file for the
1789   SunPro compilers.
1790
1791 Daniel Stenberg (12 Jan 2009)
1792 - Based on bug report #2498665 (http://curl.haxx.se/bug/view.cgi?id=2498665)
1793   by Daniel Black, I've now added magic to the configure script that makes it
1794   use pkg-config to detect gnutls details as well if the existing method
1795   (using libgnutls-config) fails. While doing this, I cleaned up and unified
1796   the pkg-config usage when detecting openssl and nss as well.
1797
1798 Daniel Stenberg (11 Jan 2009)
1799 - Karl Moerder brought the patch that creates vc9 Makefiles, and I made
1800   'maketgz' now use the actual makefile targets to do the VC8 and VC9
1801   makefiles.
1802
1803 Daniel Stenberg (10 Jan 2009)
1804 - Emil Romanus fixed:
1805
1806   When using the multi interface over HTTP and the server returns a Location
1807   header, the running easy handle will get stuck in the CURLM_STATE_PERFORM
1808   state, leaving the external event loop stuck waiting for data from the
1809   ingoing socket (when using the curl_multi_socket_action stuff). While this
1810   bug was pretty hard to find, it seems to require only a one-line fix. The
1811   break statement on line 1374 in multi.c caused the function to skip the call
1812   to multistate().
1813
1814   How to reproduce this bug? Well, that's another question.  evhiperfifo.c in
1815   the examples directory chokes on this bug only _sometimes_, probably
1816   depending on how fast the URLs are added. One way of testing the bug out is
1817   writing to hiper.fifo from more than one source at the same time.
1818
1819 Daniel Fandrich (7 Jan 2009)
1820 - Unified much of the SessionHandle initialization done in Curl_open() and
1821   curl_easy_reset() by creating Curl_init_userdefined(). This had the side
1822   effect of fixing curl_easy_reset() so it now also resets
1823   CURLOPT_FTP_FILEMETHOD and CURLOPT_SSL_SESSIONID_CACHE
1824
1825 Daniel Stenberg (7 Jan 2009)
1826 - Rob Crittenden did once again provide an NSS update:
1827
1828   I have to jump through a few hoops now with the NSS library initialization
1829   since another part of an application may have already initialized NSS by the
1830   time Curl gets invoked. This patch is more careful to only shutdown the NSS
1831   library if Curl did the initialization.
1832
1833   It also adds in a bit of code to set the default ciphers if the app that
1834   call NSS_Init* did not call NSS_SetDomesticPolicy() or set specific
1835   ciphers. One might argue that this lets other application developers get
1836   lazy and/or they aren't using the NSS API correctly, and you'd be right.
1837   But still, this will avoid terribly difficult-to-trace crashes and is
1838   generally helpful.
1839
1840 Daniel Stenberg (1 Jan 2009)
1841 - 'reconf' is removed since we rather have users use 'buildconf'
1842
1843 Daniel Stenberg (31 Dec 2008)
1844 - Bas Mevissen reported http://curl.haxx.se/bug/view.cgi?id=2479030 pointing
1845   out that 'reconf' didn't properly point out the m4 subdirectory when running
1846   aclocal.
1847
1848 Daniel Stenberg (29 Dec 2008)
1849  - Phil Lisiecki filed bug report #2413067
1850   (http://curl.haxx.se/bug/view.cgi?id=2413067) that identified a problem that
1851   would cause libcurl to mark a DNS cache entry "in use" eternally if the
1852   subsequence TCP connect failed. It would thus never get pruned and refreshed
1853   as it should've been.
1854
1855   Phil provided his own patch to this problem that while it seemed to work
1856   wasn't complete and thus I wrote my own fix to the problem.
1857
1858 Daniel Stenberg (28 Dec 2008)
1859 - Peter Korsgaard fixed building libcurl with "configure --with-ssl
1860   --disable-verbose".
1861
1862 - Anthony Bryan fixed more language and spelling flaws in man pages.
1863
1864 Daniel Stenberg (22 Dec 2008)
1865 - Given a recent enough libssh2, libcurl can now seek/resume with SFTP even
1866   on file indexes beyond 2 or 4GB.
1867
1868 - Anthony Bryan provided a set of patches that cleaned up manual language,
1869   corrected spellings and more.
1870
1871 Daniel Stenberg (20 Dec 2008)
1872 - Igor Novoseltsev fixed a bad situation for the multi_socket() API when doing
1873   pipelining, as libcurl could then easily get confused and A) work on the
1874   handle that was not "first in queue" on a pipeline, or even B) tell the app
1875   to REMOVE a socket while it was in use by a second handle in a pipeline. Both
1876   errors caused hanging or stalling applications.
1877
1878 Daniel Stenberg (19 Dec 2008)
1879 - curl_multi_timeout() could return a timeout value of 0 even though nothing
1880   was actually ready to get done, as the internal time resolution is higher
1881   than the returned millisecond timer. Therefore it could cause applications
1882   running on fast processors to do short bursts of busy-loops.
1883   curl_multi_timeout() will now only return 0 if the timeout is actually
1884   alreay triggered.
1885
1886 - Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl
1887   now has an improved ability to do right when the multi interface (both
1888   "regular" and multi_socket) is used for SCP and SFTP transfers. This should
1889   result in (much) less busy-loop situations and thus less CPU usage with no
1890   speed loss.
1891
1892 Daniel Stenberg (17 Dec 2008)
1893 - SCP and SFTP with the multi interface had the same flaw: the 'DONE'
1894   operation didn't complete properly if the EAGAIN equivalent was returned but
1895   libcurl would simply continue with a half-completed close operation
1896   performed. This ruined persistent connection re-use and cause some
1897   SSH-protocol errors in general. The correction is unfortunately adding a
1898   blocking function - doing it entirely non-blocking should be considered for
1899   a better fix.
1900
1901 Gisle Vanem (16 Dec 2008)
1902 - Added the possibility to use the Watt-32 tcp/ip stack under Windows.
1903   The change simply involved adding a USE_WATT32 section in the
1904   config-win32.h files (under ./lib and ./src). This section disables
1905   the use of any Winsock headers.
1906
1907 Daniel Stenberg (16 Dec 2008)
1908 - libssh2_sftp_last_error() was wrongly used at some places in libcurl which
1909   made libcurl sometimes not properly abort problematic SFTP transfers.
1910
1911 Daniel Stenberg (12 Dec 2008)
1912 - More work with Igor Novoseltsev to first fix the remaining stuff for
1913   removing easy handles from multi handles when the easy handle is/was within
1914   a HTTP pipeline. His bug report #2351653
1915   (http://curl.haxx.se/bug/view.cgi?id=2351653) was also related and was
1916   eventually fixed by a patch by Igor himself.
1917
1918 Yang Tse (12 Dec 2008)
1919 - Patrick Monnerat fixed a build regression, introduced in 7.19.2, affecting
1920   OS/400 compilations with IPv6 enabled.
1921
1922 Daniel Stenberg (12 Dec 2008)
1923 - Mark Karpeles filed bug report #2416182 titled "crash in ConnectionExists
1924   when using duphandle+curl_mutli"
1925   (http://curl.haxx.se/bug/view.cgi?id=2416182) which showed that
1926   curl_easy_duphandle() wrongly also copied the pointer to the connection
1927   cache, which was plain wrong and caused a segfault if the handle would be
1928   used in a different multi handle than the handle it was duplicated from.
1929
1930 Daniel Stenberg (11 Dec 2008)
1931 - Keshav Krity found out that libcurl failed to deal with dotted IPv6
1932   addresses if they were very long (>39 letters) due to a too strict address
1933   validity parser. It now accepts addresses up to 45 bytes long.
1934
1935 Daniel Stenberg (11 Dec 2008)
1936 - Internet Explorer had a broken HTTP digest authentication before v7 and
1937   there are servers "out there" that relies on the client doing this broken
1938   Digest authentication. Apache even comes with an option to work with such
1939   broken clients.
1940
1941   The difference is only for URLs that contain a query-part (a '?'-letter and
1942   text to the right of it).
1943
1944   libcurl now supports this quirk, and you enable it by setting the
1945   CURLAUTH_DIGEST_IE bit in the bitmask you pass to the CURLOPT_HTTPAUTH or
1946   CURLOPT_PROXYAUTH options. They are thus individually controlled to server
1947   and proxy.
1948
1949   (note that there's no way to activate this with the curl tool yet)
1950
1951 Daniel Fandrich (9 Dec 2008)
1952 - Added test cases 1089 and 1090 to test --write-out after a redirect to
1953   test a report that the size didn't work, but these test cases pass.
1954
1955 - Documented CURLOPT_CONNECT_ONLY as being useful only on HTTP URLs.
1956
1957 Daniel Stenberg (9 Dec 2008)
1958 - Ken Hirsch simplified how libcurl does FTPS: now it doesn't assume any
1959   particular state for the control connection like it did before for implicit
1960   FTPS (libcurl assumed such control connections to be encrypted while some
1961   FTPS servers such as FileZilla assumes such connections to be clear
1962   mode). Use the CURLOPT_USE_SSL option to set your desired level.
1963
1964 Daniel Stenberg (8 Dec 2008)
1965 - Fred Machado posted about a weird FTP problem on the curl-users list and when
1966   researching it, it turned out he got a 550 response back from a SIZE command
1967   and then I fell over the text in RFC3659 that says:
1968
1969    The presence of the 550 error response to a SIZE command MUST NOT be taken
1970    by the client as an indication that the file cannot be transferred in the
1971    current MODE and TYPE.
1972
1973   In other words: the change I did on September 30th 2008 and that has been
1974   included in the last two releases were a regression and a bad idea. We MUST
1975   NOT take a 550 response from SIZE as a hint that the file doesn't exist.
1976
1977 - Christian Krause filed bug #2221237
1978   (http://curl.haxx.se/bug/view.cgi?id=2221237) that identified an infinite
1979   loop during GSS authentication given some specific conditions. With his
1980   patience and great feedback I managed to narrow down the problem and
1981   eventually fix it although I can't test any of this myself!
1982
1983 Daniel Fandrich (3 Dec 2008)
1984 - Fixed the getifaddrs version of Curl_if2ip to work on systems without IPv6
1985   support (e.g. Minix)
1986
1987 Daniel Stenberg (3 Dec 2008)
1988 - Igor Novoseltsev filed bug #2351645
1989   (http://curl.haxx.se/bug/view.cgi?id=2351645) that identified a problem with
1990   the multi interface that occured if you removed an easy handle while in
1991   progress and the handle was used in a HTTP pipeline.
1992
1993 - Pawel Kierski pointed out a mistake in the cookie code that could lead to a
1994   bad fclose() after a fatal error had occured.
1995   (http://curl.haxx.se/bug/view.cgi?id=2382219)
1996
1997 Daniel Fandrich (25 Nov 2008)
1998 - If a HTTP request is Basic and num is already >=1000, the HTTP test
1999   server adds 1 to num to get the data section to return. This allows
2000   testing authentication negotiations using the Basic authentication
2001   method.
2002
2003 - Added tests 1087 and 1088 to test Basic authentication on a redirect
2004   with and without --location-trusted
2005
2006 Daniel Stenberg (24 Nov 2008)
2007 - Based on a patch by Vlad Grachov, libcurl now uses a new libssh2 0.19
2008   function when built to support SCP and SFTP that helps the library to know
2009   in which direction a particular libssh2 operation would return EAGAIN so
2010   that libcurl knows what socket conditions to wait for before trying the
2011   function call again. Previously (and still when using libssh2 0.18 or
2012   earlier), libcurl will busy-loop in this situation when the easy interface
2013   is used!
2014
2015 Daniel Fandrich (20 Nov 2008)
2016 - Automatically detect OpenBSD's CA cert bundle.
2017
2018 Daniel Stenberg (19 Nov 2008)
2019 - I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
2020   used. It has been used since forever but it was never a good idea to use
2021   unless explicitly asked for.
2022
2023 - Josef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when
2024   you use runtests.pl -g, will be sourced by gdb to allow additional fancy or
2025   whatever you see fit
2026
2027 - Christian Krause reported and fixed a memory leak that would occur with HTTP
2028   GSS/kerberos authentication (http://curl.haxx.se/bug/view.cgi?id=2284386)
2029
2030 - Andreas Wurf and Markus Koetter helped me analyze a problem that Andreas got
2031   when uploading files to a single FTP server using multiple easy handle
2032   handles with the multi interface. Occasionally a handle would stall in
2033   mysterious ways.
2034
2035   The problem turned out to be a side-effect of the ConnectionExists()
2036   function's eagerness to re-use a handle for HTTP pipelining so it would
2037   select it even if already being in use, due to an inadequate check for its
2038   chances of being used for pipelnining.
2039
2040 Daniel Fandrich (17 Nov 2008)
2041 - Added more compiler warning options for gcc 4.3
2042
2043 Yang Tse (17 Nov 2008)
2044 - Fix a remaining problem in the inet_pton() runtime configure check. And
2045   fix internal Curl_inet_pton() failures to reject certain malformed literals.
2046
2047 - Make configure script check if ioctl with the SIOCGIFADDR command can be
2048   used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.
2049
2050 Daniel Stenberg (16 Nov 2008)
2051 - Christian Krause fixed a build failure when building with gss support
2052   enabled and FTP disabled.
2053
2054 - Added check for NULL returns from strdup() in src/main.c and lib/formdata.c
2055   - reported by Jim Meyering also prevent buffer overflow on MSDOS when you do
2056   for example -O on a url with a file name part longer than PATH_MAX letters
2057
2058 - lib/nss.c fixes based on the report by Jim Meyering: I went over and added
2059   checks for return codes for all calls to malloc and strdup that were
2060   missing. I also changed a few malloc(13) to use arrays on the stack and a
2061   few malloc(PATH_MAX) to instead use aprintf() to lower memory use.
2062
2063 - I fixed a memory leak in Curl_nss_connect() when CURLOPT_ISSUERCERT is
2064   in use.
2065
2066 Daniel Fandrich (14 Nov 2008)
2067 - Added .xml as one of the few common file extensions known by the multipart
2068   form generator.
2069
2070 - Added some #ifdefs around header files and change the EAGAIN test to
2071   fix compilation on Cell (reported by Jeff Curley).
2072
2073 Yang Tse (14 Nov 2008)
2074 - Fixed several configure script issues affecting checks for inet_ntoa_r(),
2075   inet_ntop(), inet_pton(), getifaddrs(), fcntl() and getaddrinfo().
2076
2077 Yang Tse (13 Nov 2008)
2078 - Refactored configure script detection of functions used to set sockets into
2079   non-blocking mode, and decouple function detection from function capability.
2080