Skip to content
Snippets Groups Projects
  1. Apr 19, 2009
  2. Apr 17, 2009
    • Daniel Stenberg's avatar
      - Pramod Sharma reported and tracked down a bug when doing FTP over a HTTP · 30f7a2ff
      Daniel Stenberg authored
        proxy. libcurl would then wrongly close the connection after each
        request. In his case it had the weird side-effect that it killed NTLM auth
        for the proxy causing an inifinite loop!
      
        I added test case 1098 to verify this fix. The test case does however not
        properly verify that the transfers are done persistently - as I couldn't
        think of a clever way to achieve it right now - but you need to read the
        stderr output after a test run to see that it truly did the right thing.
      30f7a2ff
  3. Apr 01, 2009
  4. Mar 09, 2009
  5. Feb 20, 2009
    • 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
  6. Feb 18, 2009
  7. Feb 17, 2009
    • 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
  8. Feb 11, 2009
  9. Feb 02, 2009
    • 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
  10. Jan 30, 2009
  11. 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
  12. Jan 19, 2009
  13. Dec 19, 2008
  14. Dec 16, 2008
  15. Dec 09, 2008
  16. Dec 08, 2008
    • Daniel Stenberg's avatar
      - Fred Machado posted about a weird FTP problem on the curl-users list and when · 18371aaf
      Daniel Stenberg authored
        researching it, it turned out he got a 550 response back from a SIZE command
        and then I fell over the text in RFC3659 that says:
      
         The presence of the 550 error response to a SIZE command MUST NOT be taken
         by the client as an indication that the file cannot be transferred in the
         current MODE and TYPE.
      
        In other words: the change I did on September 30th 2008 and that has been
        included in the last two releases were a regression and a bad idea. We MUST
        NOT take a 550 response from SIZE as a hint that the file doesn't exist.
      18371aaf
  17. Nov 06, 2008
  18. Oct 30, 2008
  19. Oct 24, 2008
  20. Oct 23, 2008
  21. Oct 22, 2008
  22. Oct 10, 2008
  23. Oct 09, 2008
  24. Oct 08, 2008
  25. Sep 30, 2008
    • Daniel Stenberg's avatar
      - The libcurl FTP code now returns CURLE_REMOTE_FILE_NOT_FOUND error when SIZE · 038542ea
      Daniel Stenberg authored
        gets a 550 response back for the cases where a download (or NOBODY) is
        wanted. It still allows a 550 as response if the SIZE is used as part of an
        upload process (like if resuming an upload is requested and the file isn't
        there before the upload). I also modified the FTP test server and a few test
        cases accordingly to match this modified behavior.
      038542ea
  26. Sep 29, 2008
  27. Sep 24, 2008
  28. Sep 06, 2008
  29. Sep 02, 2008
  30. Aug 16, 2008
    • Yang Tse's avatar
      Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU · ad638da2
      Yang Tse authored
      remain in use as internal curl_off_t print formatting strings for the internal
      *printf functions which still cannot handle print formatting string directives
      such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and
      other DOS/Windows compilers.
      
      This reverts previous commit part which did:
      
      FORMAT_OFF_T  -> CURL_FORMAT_CURL_OFF_T
      FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
      ad638da2
  31. Aug 15, 2008
    • Yang Tse's avatar
      For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros, · 66fb9ca5
      Yang Tse authored
      the names of the curl_off_t formatting string directives now become
      CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU.
      
      CURL_FMT_OFF_T  -> CURL_FORMAT_CURL_OFF_T
      CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
      
      Remove the use of an internal name for the curl_off_t formatting string directives
      and use the common one available from the inside and outside of the library.
      
      FORMAT_OFF_T  -> CURL_FORMAT_CURL_OFF_T
      FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
      66fb9ca5
  32. Aug 11, 2008
    • Dan Fandrich's avatar
      Fixed a boundary condition error in ftp_readresp() whereby a non-terminal · f1fe0424
      Dan Fandrich authored
      line of a multiline FTP response whose last byte landed exactly at the end
      of the BUFSIZE-length buffer would be treated as the terminal response
      line.  The following response code read in would then actually be the
      end of the previous response line, and all responses from then on would
      correspond to the wrong command. Test case 1062 verifies this.
      
      Stop closing a never-opened ftp socket.
      f1fe0424
  33. Jul 07, 2008
  34. May 07, 2008
  35. Apr 28, 2008
  36. Apr 22, 2008
  37. Apr 17, 2008
  38. Apr 05, 2008
    • Daniel Stenberg's avatar
      - Based on the Debian bug report #474224 that complained about the FTP error · 7607d514
      Daniel Stenberg authored
        message when libcurl doesn't get a 220 back immediately on connect, I now
        changed it to be more specific on what the problem is. Also worth noticing:
        while the bug report contains an example where the response is:
      
          421 There are too many connected users, please try again later
      
        we cannot assume that the error message will always be this readable nor
        that it fits within a particular boundary etc.
      7607d514
Loading