Skip to content
  1. Mar 12, 2009
  2. Mar 11, 2009
  3. Mar 09, 2009
    • Daniel Stenberg's avatar
      - Frank Hempel found out a bug and provided the fix: · bdec6f2b
      Daniel Stenberg authored
        curl_easy_duphandle did not necessarily duplicate the CURLOPT_COOKIEFILE
        option. It only enabled the cookie engine in the destination handle if
        data->cookies is not NULL (where data is the source handle). In case of a
        newly initialized handle which just had the cookie support enabled by a
        curl_easy_setopt(handle, CURL_COOKIEFILE, "")-call, handle->cookies was
        still NULL because the setopt-call only appends the value to
        data->change.cookielist, hence duplicating this handle would not have the
        cookie engine switched on.
      
        We also concluded that the slist-functionality would be suitable for being
        put in its own module rather than simply hanging out in lib/sendf.c so I
        created lib/slist.[ch] for them.
      bdec6f2b
    • Daniel Stenberg's avatar
      - Andreas Farber made the 'buildconf' script check for the presence of m4 · c86c294f
      Daniel Stenberg authored
        scripts to make it detect a bad checkout earlier. People with older
        checkouts who don't do cvs update with the -d option won't get the new dirs
        and then will get funny outputs that can be a bit hard to understand and
        fix.
      c86c294f
  4. Mar 08, 2009
  5. Mar 05, 2009
  6. Mar 03, 2009
  7. Mar 02, 2009
    • Daniel Stenberg's avatar
      start over on the journey towards 7.19.5 · a1f45555
      Daniel Stenberg authored
      a1f45555
    • Daniel Stenberg's avatar
      - David Kierznowski notified us about a security flaw · 042cc1f6
      Daniel Stenberg authored
        (http://curl.haxx.se/docs/adv_20090303.html also known as CVE-2009-0037) in
        which previous libcurl versions (by design) can be tricked to access an
        arbitrary local/different file instead of a remote one when
        CURLOPT_FOLLOWLOCATION is enabled. This flaw is now fixed in this release
        together this the addition of two new setopt options for controlling this
        new behavior:
      
        o CURLOPT_REDIR_PROTOCOLS controls what protocols libcurl is allowed to
        follow to when CURLOPT_FOLLOWLOCATION is enabled. By default, this option
        excludes the FILE and SCP protocols and thus you nee to explicitly allow
        them in your app if you really want that behavior.
      
        o CURLOPT_PROTOCOLS controls what protocol(s) libcurl is allowed to fetch
        using the primary URL option. This is useful if you want to allow a user or
        other outsiders control what URL to pass to libcurl and yet not allow all
        protocols libcurl may have been built to support.
      curl-7_19_4
      042cc1f6
    • Daniel Stenberg's avatar
      the Eiffel binding · 4bc603a0
      Daniel Stenberg authored
      4bc603a0
  8. Feb 27, 2009
  9. Feb 25, 2009
    • Daniel Stenberg's avatar
      - As Daniel Fandrich figured out, we must do the GnuTLS initing in the · d207ea16
      Daniel Stenberg authored
        curl_global_init() function to properly maintain the performing functions
        thread-safe. We've previously (28 April 2007) moved the init to a later time
        just to avoid it to fail very early when libgcrypt dislikes the situation,
        but that move was bad and the fix should rather be in libgcrypt or
        elsewhere.
      d207ea16
  10. Feb 24, 2009
  11. Feb 23, 2009
  12. Feb 20, 2009
  13. Feb 19, 2009
    • Daniel Stenberg's avatar
      - Patrik Thunstrom reported a problem and helped me repeat it. It turned out · 5af0629b
      Daniel Stenberg authored
        libcurl did a superfluous 1000ms wait when doing SFTP downloads!
      
        We read data with libssh2 while doing the "DO" operation for SFTP and then
        when we were about to start getting data for the actual file part, the
        "TRANSFER" part, we waited for socket action (in 1000ms) before doing a
        libssh2-read. But in this case libssh2 had already read and buffered the
        data so we ended up always just waiting 1000ms before we get working on the
        data!
      5af0629b
  14. Feb 17, 2009
    • Daniel Stenberg's avatar
    • Daniel Stenberg's avatar
      - CURLOPT_FTP_CREATE_MISSING_DIRS can now be set to 2 in addition to 1 for · 8f81fd6b
      Daniel Stenberg authored
        plain FTP connections, and it will then allow MKD to fail once and retry the
        CWD afterwards. This is especially useful if you're doing many simultanoes
        connections against the same server and they all have this option enabled,
        as then CWD may first fail but then another connection does MKD before this
        connection and thus MKD fails but trying CWD works! The numbers can
        (should?) now be set with the convenience enums now called
        CURLFTP_CREATE_DIR and CURLFTP_CREATE_DIR_RETRY.
      
        Tests has proven that if you're making an application that uploads a set of
        files to an ftp server, you will get a noticable gain in speed if you're
        using multiple connections and this option will be then be very useful.
      8f81fd6b
  15. Feb 14, 2009
  16. Feb 12, 2009
  17. Feb 11, 2009
  18. Feb 10, 2009
  19. Feb 03, 2009
  20. Feb 02, 2009
    • Daniel Stenberg's avatar
      - Patrick Scott found a rather large memory leak when using the multi · d4ac3d53
      Daniel Stenberg authored
        interface and setting CURLMOPT_MAXCONNECTS to something less than the number
        of handles you add to the multi handle. All the connections that didn't fit
        in the cache would not be properly disconnected nor freed!
      d4ac3d53
    • Daniel Stenberg's avatar
      - Craig A West brought us: libcurl now defaults to do CONNECT with HTTP · bdd4294e
      Daniel Stenberg authored
        version 1.1 instead of 1.0 like before. This change also introduces the new
        proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to
        switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0
        option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0.
      
        I updated all test cases cases that use CONNECT and I tried to do some using
        --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
      bdd4294e
  21. Jan 31, 2009
  22. Jan 28, 2009
  23. Jan 26, 2009
  24. Jan 25, 2009