Skip to content
  1. Feb 23, 2009
  2. Feb 20, 2009
  3. 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
  4. 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
  5. Feb 14, 2009
  6. Feb 12, 2009
  7. Feb 11, 2009
  8. Feb 10, 2009
  9. Feb 03, 2009
  10. 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
  11. Jan 31, 2009
  12. Jan 28, 2009
  13. Jan 26, 2009
  14. Jan 25, 2009
  15. Jan 21, 2009
    • Dan Fandrich's avatar
      Fixed a couple more locale-dependent toupper conversions, mainly for · 55915501
      Dan Fandrich authored
      clarity.  This does fix one problem that causes ;type=i FTP URLs
      to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is
      used (test case 561)
      
      Added tests 561 and 1092 through 1094 to test various combinations
      of ;type= and ;mode= URLs that could potentially fail in the Turkish
      locale.
      55915501
  16. Jan 20, 2009
  17. Jan 19, 2009
  18. Jan 16, 2009
  19. Jan 15, 2009
  20. Jan 13, 2009
  21. Jan 11, 2009
  22. Jan 10, 2009
    • Daniel Stenberg's avatar
      - Emil Romanus fixed: · 452e52f9
      Daniel Stenberg authored
        When using the multi interface over HTTP and the server returns a Location
        header, the running easy handle will get stuck in the CURLM_STATE_PERFORM
        state, leaving the external event loop stuck waiting for data from the
        ingoing socket (when using the curl_multi_socket_action stuff). While this
        bug was pretty hard to find, it seems to require only a one-line fix. The
        break statement on line 1374 in multi.c caused the function to skip the call
        to multistate().
      
        How to reproduce this bug? Well, that's another question.  evhiperfifo.c in
        the examples directory chokes on this bug only _sometimes_, probably
        depending on how fast the URLs are added. One way of testing the bug out is
        writing to hiper.fifo from more than one source at the same time.
      452e52f9
  23. Jan 08, 2009
  24. Jan 07, 2009
    • Daniel Stenberg's avatar
      - Rob Crittenden did once again provide an NSS update: · 3c2ad402
      Daniel Stenberg authored
        I have to jump through a few hoops now with the NSS library initialization
        since another part of an application may have already initialized NSS by the
        time Curl gets invoked. This patch is more careful to only shutdown the NSS
        library if Curl did the initialization.
      
        It also adds in a bit of code to set the default ciphers if the app that
        call NSS_Init* did not call NSS_SetDomesticPolicy() or set specific
        ciphers. One might argue that this lets other application developers get
        lazy and/or they aren't using the NSS API correctly, and you'd be right.
        But still, this will avoid terribly difficult-to-trace crashes and is
        generally helpful.
      3c2ad402
  25. Dec 31, 2008