Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Aug 21, 2011
  1. @yangtse

    zlib: ensure user provided memory functions are used by zlib, when given

    yangtse committed
    As a bonus, this lets our MemoryTracking subsystem track zlib operations.
    And also fixes a shortcut some zlib 1.2.x versions took using malloc()
    instead of calloc(), which would trigger memory debuggers warnings on
    memory being used without having been initialized.
Commits on Aug 18, 2011
  1. @yangtse
Commits on Jul 26, 2011
  1. @yangtse
Commits on Apr 27, 2011
  1. source cleanup: unify look, style and indent levels

    By the use of a the new lib/ script that checks that our
    basic source style rules are followed.
Commits on Sep 12, 2010
Commits on May 14, 2010
  1. follow redirect: ignore response-body on redirect even if compressed

    Sebastian V reported bug #3000056 identifying a problem with
    redirect following. It showed that when curl followed redirects
    it didn't properly ignore the response body of the 30X response
    if that response was using compressed Content-Encoding!
Commits on Apr 24, 2010
Commits on Apr 17, 2010
Commits on Mar 24, 2010
  1. remove the CVSish $Id$ lines

Commits on Feb 9, 2010
  1. - When downloading compressed content over HTTP and the app as asked …

      to automatically uncompress it with the CURLOPT_ENCODING option, libcurl
      could wrongly provide the callback with more data than what the maximum
      documented amount. An application could thus get tricked into badness if the
      maximum limit was trusted to be enforced by libcurl itself (as it is
      This is further detailed and explained in the libcurl security advisory
      20100209 at
Commits on Jan 22, 2010
Commits on Aug 29, 2009
  1. @gknauf
Commits on May 11, 2009
  1. - Balint Szilakszi reported a memory leak when libcurl did gzip decom…

      of streams that had some parts (legitimately) missing. We now provide and use
      a proper cleanup function for the content encoding submodule.
Commits on Apr 21, 2009
  1. @yangtse
Commits on Feb 17, 2009
  1. - A second follow-up change by Andre Guibert de Bruet to fix a relate…

    …d memory
      leak like that fixed on the 14th. When zlib returns failure, we need to
      cleanup properly before returning error.
Commits on Feb 14, 2009
  1. nah, use the simpler year - year range syntax only, no matter what em…

    copyright-update script thinks
  2. - Andre Guibert de Bruet found and fixed a memory leak in the content…

    … encoding
      code, which could happen on libz errors.
Commits on Sep 6, 2008
  1. @yangtse
Commits on Nov 24, 2007
  1. struct HandleData is now called struct SingleRequest, and is only for…

    … data that
    is inited at the start of the DO action. I removed the Curl_transfer_keeper
    struct completely, and I had to move out a few struct members (that had to
    be set before DO or used after DONE) to the UrlState struct. The SingleRequest
    struct is accessed with SessionHandle->req.
    One of the biggest reasons for doing this was the bunch of duplicate struct
    members in HandleData and Curl_transfer_keeper since it was really messy to
    keep track of two variables with the same name and basically the same purpose!
Commits on Nov 5, 2007
Commits on Aug 8, 2007
  1. @dfandrich

    Song Ma noted a zlib memory leak in the illegal compressed header

    dfandrich committed
    countermeasures code path.
Commits on Feb 22, 2007
  1. @yangtse

    Fix compiler warnings

    yangtse committed
    "case label value exceeds maximum value for type" and
    "comparison is always false due to limited range of data type"
    Both triggered when using a bool variable as the switch variable
    in a switch statement and using enums for the case targets.
Commits on Aug 19, 2006
  1. Based on a patch by Armel Asselin, the FTP code no longer re-issues t…

    …he TYPE
    command on subsequent requests on a re-used connection unless it has to.
Commits on Apr 25, 2006
  1. Paul Querna fixed libcurl to better deal with deflate content encodin…

    …g when
    the stream (wrongly) lacks a proper zlib header. This seems to be the case on
    too many actual server implementations.
Commits on Mar 31, 2005
Commits on Feb 7, 2005
  1. @dfandrich
Commits on Nov 30, 2004
Commits on Oct 27, 2004
  1. Dan Fandrich's gzip handling fix

Commits on Jul 4, 2004
  1. typecast the conversion to uInt when assigning z->avail_in to prevent

    warnings from picky compilers
Commits on May 12, 2004
  1. Edited comments only.

Commits on May 11, 2004
  1. curl_global_init_mem() allows the memory functions to be replaced.

    memory.h is included everywhere for this.
Commits on Apr 26, 2004
Commits on Feb 15, 2004
Commits on Feb 13, 2004
Commits on Jan 29, 2004
  1. Dan Fandrich's cleanup patch to make pedantic compiler options cause …

    warnings. Minor edits by me.
Something went wrong with that request. Please try again.