Commit 71f3877f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

- Hidemoto Nakada provided a small fix that makes it possible to get the

  CURLINFO_CONTENT_LENGTH_DOWNLOAD size from file:// "transfers" with
  CURLOPT_NOBODY set true.
parent 83d135f9
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -6,6 +6,11 @@


                                  Changelog
                                  Changelog


Daniel Stenberg (3 Feb 2009)
- Hidemoto Nakada provided a small fix that makes it possible to get the
  CURLINFO_CONTENT_LENGTH_DOWNLOAD size from file:// "transfers" with
  CURLOPT_NOBODY set true.

Daniel Stenberg (2 Feb 2009)
Daniel Stenberg (2 Feb 2009)
- Patrick Scott found a rather large memory leak when using the multi
- Patrick Scott found a rather large memory leak when using the multi
  interface and setting CURLMOPT_MAXCONNECTS to something less than the number
  interface and setting CURLMOPT_MAXCONNECTS to something less than the number
@@ -24,7 +29,7 @@ Daniel Stenberg (2 Feb 2009)
Daniel Stenberg (31 Jan 2009)
Daniel Stenberg (31 Jan 2009)
- When building with c-ares 1.6.1 (not yet released) or later and IPv6 support
- When building with c-ares 1.6.1 (not yet released) or later and IPv6 support
  enabled, we can now take advantage of its brand new AF_UNSPEC support in
  enabled, we can now take advantage of its brand new AF_UNSPEC support in
  ares_gethostbyname(). This makes test case 241 finally run fine for me wtih
  ares_gethostbyname(). This makes test case 241 finally run fine for me with
  this setup since it now parses the "::1 ip6-localhost" line fine in my
  this setup since it now parses the "::1 ip6-localhost" line fine in my
  /etc/hosts file!
  /etc/hosts file!


+3 −1
Original line number Original line Diff line number Diff line
@@ -26,6 +26,8 @@ This release includes the following bugfixes:
 o realms with quoted quotation marks in HTTP Digest headers
 o realms with quoted quotation marks in HTTP Digest headers
 o VC9 makefiles are now really included
 o VC9 makefiles are now really included
 o multi interface memory leak with CURLMOPT_MAXCONNECTS set
 o multi interface memory leak with CURLMOPT_MAXCONNECTS set
 o CURLINFO_CONTENT_LENGTH_DOWNLOAD size from file:// "transfers" with
   CURLOPT_NOBODY set true


This release includes the following known bugs:
This release includes the following known bugs:


@@ -36,6 +38,6 @@ advice from friends like these:


 Lisa Xu, Daniel Fandrich, Craig A West, Alexey Borzov, Sharad Gupta,
 Lisa Xu, Daniel Fandrich, Craig A West, Alexey Borzov, Sharad Gupta,
 Peter Sylvester, Chad Monroe, Markus Moeller, Yang Tse, Scott Cantor,
 Peter Sylvester, Chad Monroe, Markus Moeller, Yang Tse, Scott Cantor,
 Patrick Scott
 Patrick Scott, Hidemoto Nakada


        Thanks! (and sorry if I forgot to mention someone)
        Thanks! (and sorry if I forgot to mention someone)
+5 −1
Original line number Original line Diff line number Diff line
@@ -5,7 +5,7 @@
 *                            | (__| |_| |  _ <| |___
 *                            | (__| |_| |  _ <| |___
 *                             \___|\___/|_| \_\_____|
 *                             \___|\___/|_| \_\_____|
 *
 *
 * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
 * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
 *
 *
 * This software is licensed as described in the file COPYING, which
 * This software is licensed as described in the file COPYING, which
 * you should have received as part of this distribution. The terms
 * you should have received as part of this distribution. The terms
@@ -496,6 +496,10 @@ static CURLcode file_do(struct connectdata *conn, bool *done)
               tm->tm_sec);
               tm->tm_sec);
      result = Curl_client_write(conn, CLIENTWRITE_BOTH, buf, 0);
      result = Curl_client_write(conn, CLIENTWRITE_BOTH, buf, 0);
    }
    }
    /* if we fstat()ed the file, set the file size to make it available post-
       transfer */
    if(fstated)
      Curl_pgrsSetDownloadSize(data, expected_size);
    return result;
    return result;
  }
  }