Skip to content
Snippets Groups Projects
  1. Sep 07, 2013
  2. Sep 06, 2013
  3. Sep 05, 2013
  4. Sep 04, 2013
  5. Sep 01, 2013
  6. Aug 31, 2013
  7. Aug 29, 2013
  8. Aug 27, 2013
    • Daniel Stenberg's avatar
      multi_socket: improved 100-continue timeout handling · a691e044
      Daniel Stenberg authored
      When waiting for a 100-continue response from the server, the
      Curl_readwrite() will refuse to run if called until the timeout has been
      reached.
      
      We timeout code in multi_socket() allows code to run slightly before the
      actual timeout time, so for test 154 it could lead to the function being
      executed but refused in Curl_readwrite() and then the application would
      just sit idling forever.
      
      This was detected with runtests.pl -e on test 154.
      a691e044
  9. Aug 26, 2013
    • Daniel Stenberg's avatar
      security.h: rename to curl_sec.h to avoid name collision · 460fb120
      Daniel Stenberg authored
      I brought back security.h in commit bb552933. As we actually
      already found out back in 2005 in commit 62970da6, the file name
      security.h causes problems so I renamed it curl_sec.h instead.
      460fb120
    • Kyle L. Huff's avatar
      smtp: added basic SASL XOAUTH2 support · 90ab65c6
      Kyle L. Huff authored
      Added the ability to use an XOAUTH2 bearer token [RFC6750] with SMTP for
      authentication using RFC6749 "OAuth 2.0 Authorization Framework".
      
      The bearer token is expected to be valid for the user specified in
      conn->user. If CURLOPT_XOAUTH2_BEARER is defined and the connection has
      an advertised auth mechanism of "XOAUTH2", the user and access token are
      formatted as a base64 encoded string and sent to the server as
      "AUTH XOAUTH2 <bearer token>".
      90ab65c6
    • Kyle L. Huff's avatar
      imap: added basic SASL XOAUTH2 support · 34122800
      Kyle L. Huff authored
      Added the ability to use an XOAUTH2 bearer token [RFC6750] with IMAP for
      authentication using RFC6749 "OAuth 2.0 Authorization Framework".
      
      The bearer token is expected to be valid for the user specified in
      conn->user. If CURLOPT_XOAUTH2_BEARER is defined and the connection has
      an advertised auth mechanism of "XOAUTH2", the user and access token are
      formatted as a base64 encoded string and sent to the server as
      "A001 AUTHENTICATE XOAUTH2 <bearer token>".
      34122800
    • Steve Holme's avatar
      security.h: Fixed compilation warning · 7f41eab3
      Steve Holme authored
      ISO C forbids forward references to 'enum' types
      7f41eab3
  10. Aug 25, 2013
    • Kyle L. Huff's avatar
      options: added basic SASL XOAUTH2 support · 06c1bea7
      Kyle L. Huff authored
      Added the ability to specify an XOAUTH2 bearer token [RFC6750] via the
      option CURLOPT_XOAUTH2_BEARER for authentication using RFC6749 "OAuth
      2.0 Authorization Framework".
      06c1bea7
    • Kyle L. Huff's avatar
      sasl: added basic SASL XOAUTH2 support · 19a05c90
      Kyle L. Huff authored
      Added the ability to generated a base64 encoded XOAUTH2 token
      containing: "user=<username>^Aauth=Bearer <bearer token>^A^A"
      as per RFC6749 "OAuth 2.0 Authorization Framework".
      19a05c90
    • Daniel Stenberg's avatar
      FTP: remove krb4 support · bb552933
      Daniel Stenberg authored
      We've announced this pending removal for a long time and we've
      repeatedly asked if anyone would care or if anyone objects. Nobody has
      objected. It has probably not even been working for a good while since
      nobody has tested/used this code recently.
      
      The stuff in krb4.h that was generic enough to be used by other sources
      is now present in security.h
      bb552933
    • Daniel Stenberg's avatar
  11. Aug 22, 2013
  12. Aug 21, 2013
  13. Aug 20, 2013
    • Daniel Stenberg's avatar
      CURLM_ADDED_ALREADY: new error code · 19122c07
      Daniel Stenberg authored
      Doing curl_multi_add_handle() on an easy handle that is already added to
      a multi handle now returns this error code. It previously returned
      CURLM_BAD_EASY_HANDLE for this condition.
      19122c07
    • Daniel Stenberg's avatar
      multi_init: moved init code here from add_handle · c346c4c8
      Daniel Stenberg authored
      The closure_handle is "owned" by the multi handle and it is
      unconditional so the setting up of it should be in the Curl_multi_handle
      function rather than curl_multi_add_handle.
      c346c4c8
    • Daniel Stenberg's avatar
      multi: remove dns cache creation code from *add_handle · bc7d806e
      Daniel Stenberg authored
      As it is done unconditionally in multi_init() this code will never run!
      bc7d806e
    • Daniel Stenberg's avatar
      curl_easy_perform_ev: debug/test function · 6cf8413e
      Daniel Stenberg authored
      This function is meant to work *exactly* as curl_easy_perform() but will
      use the event-based libcurl API internally instead of
      curl_multi_perform(). To avoid relying on an actual event-based library
      and to not use non-portable functions (like epoll or similar), there's a
      rather inefficient emulation layer implemented on top of Curl_poll()
      instead.
      
      There's currently some convenience logging done in curl_easy_perform_ev
      which helps when tracking down problems. They may be suitable to remove
      or change once things seem to be fine enough.
      
      curl has a new --test-event option when built with debug enabled that
      then uses curl_easy_perform_ev() instead of curl_easy_perform(). If
      built without debug, using --test-event will only output a warning
      message.
      
      NOTE: curl_easy_perform_ev() is not part if the public API on purpose.
      It is only present in debug builds of libcurl and MUST NOT be considered
      stable even then. Use it for libcurl-testing purposes only.
      
      runtests.pl now features an -e command line option that makes it use
      --test-event for all curl command line tests. The man page is updated.
      6cf8413e
    • Gisle Vanem's avatar
Loading