1. 20 Dec, 2011 2 commits
    • Gokhan Sengun's avatar
      FTP: perform active connections non-blocking · c834213a
      Gokhan Sengun authored
      1- Two new error codes are introduced.
      
      CURLE_FTP_ACCEPT_FAILED to be set whenever ACCEPTing fails because of
      FTP server connected.
      
      CURLE_FTP_ACCEPT_TIMEOUT to be set whenever ACCEPTing timeouts.
      
      Neither of these errors are considered fatal and control connection
      remains OK because it could just be a firewall blocking server to
      connect to the client.
      
      2- One new setopt option was introduced.
      
      CURLOPT_ACCEPTTIMEOUT_MS
      
      It sets the maximum amount of time FTP client is going to wait for a
      server to connect. Internal default accept timeout is 60 seconds.
      c834213a
    • Cédric Deltheil's avatar
      curl.h: add __ANDROID__ macro check · bedfafe3
      Cédric Deltheil authored
      When working with the Android Standalone Toolchain the compiler defines
      this macro:
      
        /path/to/arm-linux-androideabi-gcc -E -dM - < /dev/null \
        | grep -i android
        #define __ANDROID__ 1
      
      We really need to check both ANDROID and __ANDROID__ since I've observed
      that:
      
      * if you use Android.mk file(s) and the 'ndk-build' script (aka vanilla
      way), ANDROID is predefined (see -DANDROID extra C flag),
      
      * if you use the Android Standalone Toolchain, then __ANDROID__ is
      predefined as stated by the compiler
      bedfafe3
  2. 17 Nov, 2011 1 commit
  3. 03 Oct, 2011 1 commit
    • Daniel Stenberg's avatar
      share: don't use SSL unless enabled · 15e3e451
      Daniel Stenberg authored
      Don't even declare the struct members for disabled features
      
      Introducing the CURLSHE_NOT_BUILT_IN return code for the share interface
      when trying to set a sharing option that has been disabled (or not
      enabled) in the library.
      15e3e451
  4. 26 Sep, 2011 1 commit
  5. 25 Sep, 2011 1 commit
  6. 26 Aug, 2011 1 commit
    • Yang Tse's avatar
      NTLM single-sign on adjustments (X) · 407e08ba
      Yang Tse authored
      Functions renamed:
      
      Curl_output_ntlm_sso -> Curl_output_ntlm_wb
      sso_ntlm_close -> wb_ntlm_close
      sso_ntlm_response -> wb_ntlm_response
      sso_ntlm_initiate -> wb_ntlm_initiate
      
      Preprocessor symbols renamed:
      
      CURLAUTH_NTLM_SSO -> CURLAUTH_NTLM_WB
      CURL_VERSION_NTLM_SSO -> CURL_VERSION_NTLM_WB
      407e08ba
  7. 09 Aug, 2011 1 commit
  8. 05 Aug, 2011 1 commit
  9. 04 Aug, 2011 2 commits
  10. 03 Aug, 2011 2 commits
  11. 18 Jul, 2011 1 commit
  12. 18 May, 2011 2 commits
  13. 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
  14. 04 May, 2011 1 commit
  15. 21 Apr, 2011 1 commit
  16. 18 Apr, 2011 2 commits
  17. 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
  18. 17 Feb, 2011 1 commit
  19. 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
  20. 19 Jan, 2011 1 commit
  21. 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
  22. 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
  23. 25 Aug, 2010 1 commit
  24. 04 Jun, 2010 1 commit
  25. 16 May, 2010 1 commit
  26. 15 May, 2010 1 commit
  27. 12 May, 2010 2 commits
  28. 24 Mar, 2010 1 commit
  29. 10 Feb, 2010 1 commit
  30. 22 Jan, 2010 1 commit
  31. 21 Jan, 2010 3 commits