1. 12 May, 2008 1 commit
  2. 30 Apr, 2008 1 commit
    • Daniel Stenberg's avatar
      - To make it easier for applications that want lots of magic stuff done on · 85298985
      Daniel Stenberg authored
        redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now
        introduce the new CURLINFO_REDIRECT_URL option that lets applications
        extract the URL libcurl would've redirected to if it had been told to. This
        then enables the application to continue to that URL as it thinks is
        suitable, without having to re-implement the magic of creating the new URL
        from the Location: header etc. Test 1029 verifies it.
      85298985
  3. 22 Apr, 2008 1 commit
  4. 17 Apr, 2008 1 commit
  5. 14 Apr, 2008 1 commit
  6. 31 Mar, 2008 1 commit
  7. 18 Mar, 2008 1 commit
  8. 11 Mar, 2008 2 commits
  9. 10 Jan, 2008 1 commit
    • 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
  10. 08 Jan, 2008 1 commit
  11. 05 Jan, 2008 1 commit
    • Daniel Stenberg's avatar
      Based on further discussion on curl-library, I reverted yesterday's SOCKS5 · b4305764
      Daniel Stenberg authored
      code to instead introduce support for a new proxy type called
      CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy
      instead of IP address and there's thus no longer any need for a new
      curl_easy_setopt() option.
      
      The default SOCKS5 proxy is again back to sending the IP address to the
      proxy.  The new curl command line option for enabling sending host name to a
      SOCKS5 proxy is now --socks5-hostname.
      b4305764
  12. 04 Jan, 2008 1 commit
  13. 02 Jan, 2008 2 commits
    • Daniel Stenberg's avatar
      I removed the socklen_t use from the public curl/curl.h header and instead · 193d33fd
      Daniel Stenberg authored
      made it an unsigned int. The type was only used in the curl_sockaddr struct
      definition (only used by the curl_opensocket_callback). On all platforms I
      could find information about, socklen_t is 32 unsigned bits large so I don't
      think this will break the API or ABI. The main reason for this change is of
      course for all the platforms that don't have a socklen_t definition in their
      headers to build fine again. Providing our own configure magic and custom
      definition of socklen_t on those systems proved to work but was a lot of
      cruft, code and extra magic needed - when this very small change of type seems
      harmless and still solves the missing socklen_t problem.
      193d33fd
    • Daniel Stenberg's avatar
      Richard Atterer brought a patch that added support for SOCKS4a proxies, which · a46b40b7
      Daniel Stenberg authored
      is an inofficial PROXY4 variant that sends the hostname to the proxy instead
      of the resolved address (which is already supported by SOCKS5).  --socks4a is
      the curl command line option for it and CURLOPT_PROXYTYPE can now be set to
      CURLPROXY_SOCKS4A as well.
      a46b40b7
  14. 02 Dec, 2007 1 commit
  15. 22 Nov, 2007 1 commit
  16. 08 Nov, 2007 1 commit
  17. 06 Nov, 2007 1 commit
  18. 15 Oct, 2007 1 commit
  19. 06 Oct, 2007 1 commit
  20. 03 Oct, 2007 4 commits
  21. 26 Sep, 2007 1 commit
    • Daniel Stenberg's avatar
      Philip Langdale provided the new CURLOPT_POST301 option for · fd4cf78f
      Daniel Stenberg authored
      curl_easy_setopt() that alters how libcurl functions when following
      redirects. It makes libcurl obey the RFC2616 when a 301 response is received
      after a non-GET request is made. Default libcurl behaviour is to change
      method to GET in the subsequent request (like it does for response code 302
      - because that's what many/most browsers do), but with this CURLOPT_POST301
      option enabled it will do what the spec says and do the next request using
      the same method again. I.e keep POST after 301.
      
      The curl tool got this option as --post301
      
      Test case 1011 and 1012 were added to verify.
      fd4cf78f
  22. 31 Aug, 2007 1 commit
  23. 30 Aug, 2007 1 commit
    • Dan Fandrich's avatar
      Renamed several libcurl error codes and options to make them more general · 9f44a955
      Dan Fandrich authored
      and allow reuse by multiple protocols. Several unused error codes were
      removed.  In all cases, macros were added to preserve source (and binary)
      compatibility with the old names.  These macros are subject to removal at
      a future date, but probably not before 2009.  An application can be
      tested to see if it is using any obsolete code by compiling it with the
      CURL_NO_OLDIES macro defined.
      
      Documented some newer error codes in libcurl-error(3)
      9f44a955
  24. 23 Aug, 2007 1 commit
  25. 01 Jul, 2007 1 commit
  26. 30 Jun, 2007 1 commit
  27. 27 Jun, 2007 1 commit
  28. 08 May, 2007 1 commit
  29. 20 Apr, 2007 1 commit
  30. 20 Feb, 2007 1 commit
  31. 12 Feb, 2007 1 commit
    • Daniel Stenberg's avatar
      - Shmulik Regev fixed so that the final CRLF of HTTP response headers are sent · 28b932fb
      Daniel Stenberg authored
        to the debug callback.
      
      - Shmulik Regev added CURLOPT_HTTP_CONTENT_DECODING and
        CURLOPT_HTTP_TRANSFER_DECODING that if set to zero will disable libcurl's
        internal decoding of content or transfer encoded content. This may be
        preferable in cases where you use libcurl for proxy purposes or similar. The
        command line tool got a --raw option to disable both at once.
      28b932fb
  32. 05 Feb, 2007 1 commit
    • Daniel Stenberg's avatar
      - Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS · 91386937
      Daniel Stenberg authored
        and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the
        timeouts with millisecond resolution instead. The only restriction to that
        is the alarm() (sometimes) used to abort name resolves as that uses full
        seconds. I fixed the FTP response timeout part of the patch.
      
        Internally we now count and keep the timeouts in milliseconds but it also
        means we multiply set timeouts with 1000. The effect of this is that no
        timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which
        equals 24.86 days.  We probably couldn't before either since the code did
        *1000 on the timeout values on several places already.
      91386937
  33. 08 Jan, 2007 1 commit
  34. 05 Jan, 2007 1 commit
  35. 02 Nov, 2006 1 commit