1. 09 May, 2011 1 commit
    • Daniel Stenberg's avatar
      include: cleanup · 2ef7a28a
      Daniel Stenberg authored
      Made the public headers checksrc compliant
      
      Removed types.h (it's been unused since April 2004)
      
      Made the root makefile do make in include by default as well, so that
      TAGS and the checksrc will work better.
      2ef7a28a
  2. 04 May, 2011 1 commit
  3. 21 Apr, 2011 1 commit
  4. 18 Apr, 2011 2 commits
  5. 05 Apr, 2011 2 commits
    • Dan Fandrich's avatar
      5b716b7c
    • Daniel Stenberg's avatar
      return code cleanup: build, init and run-time errors · 01f05d0c
      Daniel Stenberg authored
      Stop the abuse of CURLE_FAILED_INIT as return code for things not being
      init related by introducing two new return codes:
      
      CURLE_NOT_BUILT_IN and CURLE_UNKNOWN_OPTION
      
      CURLE_NOT_BUILT_IN replaces return code 4 that has been obsoleted for
      several years. It is used for returning error when something is
      attempted to be used but the feature/option was not enabled or
      explictitly disabled at build-time. Getting this error mostly means that
      libcurl needs to be rebuilt.
      
      CURLE_FAILED_INIT is now saved and used strictly for init
      failures. Getting this problem means something went seriously wrong,
      like a resource shortage or similar.
      
      CURLE_UNKNOWN_OPTION is the option formerly known as
      CURLE_UNKNOWN_TELNET_OPTION (and the old name is still present,
      separately defined to be removed in a very distant future). This error
      code is meant to be used to return when an option is given to libcurl
      that isn't known. This problem would mostly indicate a problem in the
      program that uses libcurl.
      01f05d0c
  6. 17 Feb, 2011 1 commit
  7. 09 Feb, 2011 1 commit
    • Quinn Slack's avatar
      CURLE_TLSAUTH_FAILED: removed · 3cffcba3
      Quinn Slack authored
      On second thought, I think CURLE_TLSAUTH_FAILED should be eliminated. It
      was only being raised when an internal error occurred while allocating
      or setting the GnuTLS SRP client credentials struct. For TLS
      authentication failures, the general CURLE_SSL_CONNECT_ERROR seems
      appropriate; its error string already includes "passwords" as a possible
      cause. Having a separate TLS auth error code might also cause people to
      think that a TLS auth failure means the wrong username or password was
      entered, when it could also be a sign of a man-in-the-middle attack.
      3cffcba3
  8. 19 Jan, 2011 1 commit
  9. 11 Nov, 2010 1 commit
    • Daniel Stenberg's avatar
      HTTP Auth: Add CURLAUTH_ONLY · 86367422
      Daniel Stenberg authored
      This is a meta symbol. OR this value together with a single specific
      auth value to force libcurl to probe for un-restricted auth and if not,
      only that single auth algorithm is acceptable.
      
      For example you can use CURLAUTH_DIGEST|CURLAUTH_ONLY to make libcurl
      first probe for what method to use, but yet only consider Digest to be
      acceptable.
      
      Using _only_ CURLAUTH_DIGEST without the CURLAUTH_ONLY field, will make
      libcurl explicitly use Digest right away and not do any probing.
      86367422
  10. 08 Nov, 2010 1 commit
    • Daniel Stenberg's avatar
      CURLOPT_RESOLVE: added · 1b24b89c
      Daniel Stenberg authored
      CURLOPT_RESOLVE is a new option that sends along a curl_slist with
      name:port:address sets that will populate the DNS cache with entries so
      that request can be "fooled" to use another host than what otherwise
      would've been used. Previously we've encouraged the use of Host: for
      that when dealing with HTTP, but this new feature has the added bonus
      that it allows the name from the URL to be used for TLS SNI and server
      certificate name checks as well.
      
      This is a first change. Surely more will follow to make it decent.
      1b24b89c
  11. 25 Aug, 2010 1 commit
  12. 04 Jun, 2010 1 commit
  13. 16 May, 2010 1 commit
  14. 15 May, 2010 1 commit
  15. 12 May, 2010 2 commits
  16. 24 Mar, 2010 1 commit
  17. 10 Feb, 2010 1 commit
  18. 22 Jan, 2010 1 commit
  19. 21 Jan, 2010 3 commits
  20. 01 Jan, 2010 2 commits
  21. 27 Dec, 2009 1 commit
  22. 25 Dec, 2009 1 commit
  23. 12 Dec, 2009 1 commit
  24. 05 Nov, 2009 1 commit
  25. 16 Oct, 2009 1 commit
  26. 27 Sep, 2009 1 commit
    • Daniel Stenberg's avatar
      - I introduced a maximum limit for received HTTP headers. It is controlled by · 8646cecb
      Daniel Stenberg authored
        the define CURL_MAX_HTTP_HEADER which is even exposed in the public header
        file to allow for users to fairly easy rebuild libcurl with a modified
        limit. The rationale for a fixed limit is that libcurl is realloc()ing a
        buffer to be able to put a full header into it, so that it can call the
        header callback with the entire header, but that also risk getting it into
        trouble if a server by mistake or willingly sends a header that is more or
        less without an end. The limit is set to 100K.
      8646cecb
  27. 01 Sep, 2009 1 commit
  28. 31 Aug, 2009 3 commits
  29. 11 Aug, 2009 1 commit
  30. 22 Jul, 2009 1 commit
  31. 10 Jun, 2009 1 commit
    • Yang Tse's avatar
      Adjusted to take in account that... · 2c166812
      Yang Tse authored
      With the curl memory tracking feature decoupled from the debug build feature,
      CURLDEBUG and DEBUGBUILD preprocessor symbol definitions are used as follows:
      
      CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug)
      
      DEBUGBUILD used for debug enabled specific code (--enable-debug)
      2c166812
  32. 04 Jun, 2009 1 commit