Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jun 26, 2012
  1. SSL cleanup: use crypto functions through the sslgen layer

    curl_ntlm_msgs.c would previously use an #ifdef maze and direct
    SSL-library calls instead of using the SSL layer we have for this
Commits on Sep 3, 2011
  1. @yangtse
Commits on Aug 28, 2011
  1. @yangtse
Commits on Apr 5, 2011
  1. return code cleanup: build, init and run-time errors

    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 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.
Commits on Jun 30, 2010
  1. @kdudka

    http_ntlm: add support for NSS

    kdudka authored
    When configured with '--without-ssl --with-nss', NTLM authentication
    now uses NSS crypto library for MD5 and DES.  For MD4 we have a local
    implementation in that case.  More details are available at
    In order to get it working, curl_global_init() must be called with
    CURL_GLOBAL_SSL or CURL_GLOBAL_ALL.  That's necessary because NSS needs
    to be initialized globally and we do so only when the NSS library is
    actually required by protocol.  The mentioned call of curl_global_init()
    is responsible for creating of the initialization mutex.
    There was also slightly changed the NSS initialization scenario, in
    particular, loading of the NSS PEM module.  It used to be loaded always
    right after the NSS library was initialized.  Now the library is
    initialized as soon as any SSL or NTLM is required, while the PEM module
    is prevented from being loaded until the SSL is actually required.
Commits on May 7, 2010
  1. sendrecv: split the I/O handling into private handler

    Howard Chu authored committed
    Howard Chu brought the bulk work of this patch that properly
    moves out the sending and recving of data to the parts of the
    code that are properly responsible for the various ways of doing
    Daniel Stenberg assisted with polishing a few bits and fixed some
    minor flaws in the original patch.
    Another upside of this patch is that we now abuse CURLcodes less
    with the "magic" -1 return codes and instead use CURLE_AGAIN more
Commits on Apr 4, 2010
  1. @kdudka
Commits on Mar 24, 2010
  1. remove the CVSish $Id$ lines

Commits on Oct 17, 2008
  1. @dfandrich

    Forgot it's a struct

    dfandrich authored
  2. @dfandrich
Commits on Jun 21, 2008
Commits on Jun 11, 2008
  1. - I did a cleanup of the internal generic SSL layer and how the vario…

    …us SSL
      libraries are supported. Starting now, each underlying SSL library support
      code does a set of defines for the 16 functions the generic layer (sslgen.c)
      uses (all these new function defines use the prefix "curlssl_"). This
      greatly simplified the generic layer in readability by involving much less
      #ifdefs and other preprocessor stuff and should make it easier for people to
      make libcurl work with new SSL libraries.
      Hopefully I can later on document these 16 functions somewhat as well.
      I also made most of the internal SSL-dependent functions (using Curl_ssl_
      prefix) #defined to nothing when no SSL support is requested - previously
      they would unnecessarily call mostly empty functions.
Commits on Sep 27, 2007
  1. @dfandrich
Commits on Aug 1, 2007
  1. Patrick Monnerat and I modified libcurl so that now it *copies* all s…

    passed to it with curl_easy_setopt()! Previously it has always just refered
    to the data, forcing the user to keep the data around until libcurl is done
    with it. That is now history and libcurl will instead clone the given
    strings and keep private copies.
Commits on Feb 12, 2007
Something went wrong with that request. Please try again.