Permalink
Commits on Jun 8, 2015
Commits on Apr 28, 2015
  1. Negotiate: custom service names for SPNEGO.

    * Add new options, CURLOPT_PROXY_SERVICE_NAME and CURLOPT_SERVICE_NAME.
    * Add new curl options, --proxy-service-name and --service-name.
    linusnielsen committed with bagder Mar 29, 2015
Commits on Apr 23, 2013
Commits on Apr 18, 2013
Commits on Apr 4, 2013
  1. easy: Fix the broken CURLOPT_MAXCONNECTS option

    Copy the CURLOPT_MAXCONNECTS option to CURLMOPT_MAXCONNECTS in
    curl_easy_perform().
    
    Bug: http://curl.haxx.se/bug/view.cgi?id=1212
    Reported-by: Steven Gu
    linusnielsen committed Apr 4, 2013
Commits on Mar 14, 2013
Commits on Mar 13, 2013
  1. Multiple pipelines and limiting the number of connections.

    Introducing a number of options to the multi interface that
    allows for multiple pipelines to the same host, in order to
    optimize the balance between the penalty for opening new
    connections and the potential pipelining latency.
    
    Two new options for limiting the number of connections:
    
    CURLMOPT_MAX_HOST_CONNECTIONS - Limits the number of running connections
    to the same host. When adding a handle that exceeds this limit,
    that handle will be put in a pending state until another handle is
    finished, so we can reuse the connection.
    
    CURLMOPT_MAX_TOTAL_CONNECTIONS - Limits the number of connections in total.
    When adding a handle that exceeds this limit,
    that handle will be put in a pending state until another handle is
    finished. The free connection will then be reused, if possible, or
    closed if the pending handle can't reuse it.
    
    Several new options for pipelining:
    
    CURLMOPT_MAX_PIPELINE_LENGTH - Limits the pipeling length. If a
    pipeline is "full" when a connection is to be reused, a new connection
    will be opened if the CURLMOPT_MAX_xxx_CONNECTIONS limits allow it.
    If not, the handle will be put in a pending state until a connection is
    ready (either free or a pipe got shorter).
    
    CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE - A pipelined connection will not
    be reused if it is currently processing a transfer with a content
    length that is larger than this.
    
    CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE - A pipelined connection will not
    be reused if it is currently processing a chunk larger than this.
    
    CURLMOPT_PIPELINING_SITE_BL - A blacklist of hosts that don't allow
    pipelining.
    
    CURLMOPT_PIPELINING_SERVER_BL - A blacklist of server types that don't allow
    pipelining.
    
    See the curl_multi_setopt() man page for details.
    linusnielsen committed Feb 15, 2013
Commits on Feb 26, 2013
Commits on Feb 10, 2013
Commits on Feb 5, 2013
  1. CURLMOPT_MAXCONNECTS: restore functionality

    When a connection is no longer used, it is kept in the cache. If the
    cache is full, the oldest idle connection is closed. If no connection is
    idle, the current one is closed instead.
    linusnielsen committed Feb 5, 2013
Commits on Dec 7, 2012
  1. Introducing a new persistent connection caching system using "bundles".

    A bundle is a list of all persistent connections to the same host.
    The connection cache consists of a hash of bundles, with the
    hostname as the key.
    The benefits may not be obvious, but they are two:
    
    1) Faster search for connections to reuse, since the hash
       lookup only finds connections to the host in question.
    2) It lays out the groundworks for an upcoming patch,
       which will introduce multiple HTTP pipelines.
    
    This patch also removes the awkward list of "closure handles",
    which were needed to send QUIT commands to the FTP server
    when closing a connection.
    Now we allocate a separate closure handle and use that
    one to close all connections.
    
    This has been tested in a live system for a few weeks, and of
    course passes the test suite.
    linusnielsen committed with bagder Dec 6, 2012
Commits on Feb 20, 2007
  1. New FTP CCC functionality - adds passive and active mode to accomodat…

    …e for different server behaviour
    linusnielsen committed Feb 20, 2007
  2. New FTP CCC functionality - adds passive and active mode to accomodat…

    …e for different server behaviour
    linusnielsen committed Feb 20, 2007
Commits on Jan 8, 2007
Commits on Jan 6, 2007