1. 20 Feb, 2009 1 commit
    • Daniel Stenberg's avatar
      - Linus Nielsen Feltzing reported and helped me repeat and fix a problem with · af91ff0e
      Daniel Stenberg authored
        FTP with the multi interface: when a transfer fails, like when aborted by a
        write callback, the control connection was wrongly closed and thus not
        re-used properly.
      
        This change is also an attempt to cleanup the code somewhat in this area, as
        now the FTP code attempts to keep (better) track on pending responses
        necessary to get read in ftp_done().
      af91ff0e
  2. 19 Feb, 2009 1 commit
    • 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
  3. 18 Feb, 2009 1 commit
  4. 17 Feb, 2009 3 commits
  5. 14 Feb, 2009 1 commit
  6. 12 Feb, 2009 2 commits
  7. 11 Feb, 2009 1 commit
  8. 05 Feb, 2009 1 commit
  9. 04 Feb, 2009 1 commit
  10. 03 Feb, 2009 1 commit
  11. 02 Feb, 2009 2 commits
    • 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
  12. 31 Jan, 2009 2 commits
  13. 30 Jan, 2009 1 commit
  14. 29 Jan, 2009 1 commit
    • Yang Tse's avatar
      Introduced curl_sspi.c and curl_sspi.h for the implementation of functions · e813bf31
      Yang Tse authored
      Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were
      named Curl_ntlm_global_init() and Curl_ntlm_global_cleanup() in http_ntlm.c
      Also adjusted socks_sspi.c to remove the link-time dependency on the Windows
      SSPI library using it now in the same way as it was done in http_ntlm.c.
      e813bf31
  15. 28 Jan, 2009 1 commit
  16. 26 Jan, 2009 3 commits
  17. 25 Jan, 2009 1 commit
  18. 21 Jan, 2009 1 commit
    • 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
  19. 20 Jan, 2009 1 commit
  20. 19 Jan, 2009 1 commit
  21. 16 Jan, 2009 1 commit
  22. 15 Jan, 2009 1 commit
  23. 13 Jan, 2009 3 commits
  24. 11 Jan, 2009 3 commits
  25. 10 Jan, 2009 1 commit
    • 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
  26. 08 Jan, 2009 1 commit
  27. 07 Jan, 2009 1 commit
    • 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
  28. 01 Jan, 2009 1 commit
  29. 31 Dec, 2008 1 commit