Skip to content
Snippets Groups Projects
  1. Dec 19, 2008
  2. Dec 16, 2008
  3. Dec 09, 2008
  4. 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
  5. Nov 06, 2008
  6. Oct 30, 2008
  7. Oct 24, 2008
  8. Oct 23, 2008
  9. Oct 22, 2008
  10. Oct 10, 2008
  11. Oct 09, 2008
  12. Oct 08, 2008
  13. 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
  14. Sep 29, 2008
  15. Sep 24, 2008
  16. Sep 06, 2008
  17. Sep 02, 2008
  18. 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
  19. 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
  20. 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
  21. Jul 07, 2008
  22. May 07, 2008
  23. Apr 28, 2008
  24. Apr 22, 2008
  25. Apr 17, 2008
  26. 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
  27. Feb 07, 2008
  28. Jan 31, 2008
  29. Jan 15, 2008
  30. Jan 11, 2008
  31. Jan 10, 2008
    • Daniel Stenberg's avatar
      Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allow · 18faa509
      Daniel Stenberg authored
      libcurl to seek in a given input stream. This is particularly important when
      doing upload resumes when there's already a huge part of the file present
      remotely. Before, and still if this callback isn't used, libcurl will read
      and through away the entire file up to the point to where the resuming
      begins (which of course can be a slow opereration depending on file size,
      I/O bandwidth and more). This new function will also be preferred to get
      used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when
      doing multi-stage HTTP auth with POST/PUT.
      18faa509
  32. Jan 06, 2008
  33. Jan 03, 2008
  34. Jan 02, 2008
  35. Dec 08, 2007
  36. Nov 29, 2007
  37. Nov 24, 2007
    • Daniel Stenberg's avatar
      struct HandleData is now called struct SingleRequest, and is only for data that · 13648f8c
      Daniel Stenberg authored
      is inited at the start of the DO action. I removed the Curl_transfer_keeper
      struct completely, and I had to move out a few struct members (that had to
      be set before DO or used after DONE) to the UrlState struct. The SingleRequest
      struct is accessed with SessionHandle->req.
      
      One of the biggest reasons for doing this was the bunch of duplicate struct
      members in HandleData and Curl_transfer_keeper since it was really messy to
      keep track of two variables with the same name and basically the same purpose!
      13648f8c
Loading