aboutsummaryrefslogtreecommitdiff
path: root/lib/content_encoding.c
AgeCommit message (Collapse)Author
2011-07-26stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.hYang Tse
2011-04-27source cleanup: unify look, style and indent levelsDaniel Stenberg
By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
2010-09-12inflate_stream: remove redundant check that is always trueDaniel Stenberg
2010-05-14follow redirect: ignore response-body on redirect even if compressedDaniel Stenberg
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! (http://curl.haxx.se/bug/view.cgi?id=3000056)
2010-04-24gzip: Value stored to 'data' is never readDaniel Stenberg
2010-04-17check_gzip_header: Value stored to 'data' is never readDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-09- When downloading compressed content over HTTP and the app as asked libcurlDaniel Stenberg
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 documented). This is further detailed and explained in the libcurl security advisory 20100209 at http://curl.haxx.se/docs/adv_20100209.html
2010-01-22wrap long lines and do some indent policingDaniel Stenberg
2009-08-29add cast to silient compiler warning with 64bit systems.Gunter Knauf
2009-05-11- Balint Szilakszi reported a memory leak when libcurl did gzip decompressionDaniel Stenberg
of streams that had some parts (legitimately) missing. We now provide and use a proper cleanup function for the content encoding submodule. http://curl.haxx.se/mail/lib-2009-05/0092.html
2009-04-21libcurl's memory.h renamed to curl_memory.hYang Tse
2009-02-17- A second follow-up change by Andre Guibert de Bruet to fix a related memoryDaniel Stenberg
leak like that fixed on the 14th. When zlib returns failure, we need to cleanup properly before returning error.
2009-02-14nah, use the simpler year - year range syntax only, no matter what emacs'Daniel Stenberg
copyright-update script thinks
2009-02-14- Andre Guibert de Bruet found and fixed a memory leak in the content encodingDaniel Stenberg
code, which could happen on libz errors.
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2007-11-24struct HandleData is now called struct SingleRequest, and is only for data thatDaniel Stenberg
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!
2007-11-05removed space after if and while before the parenthesis for better source codeDaniel Stenberg
consistency
2007-08-08Song Ma noted a zlib memory leak in the illegal compressed headerDan Fandrich
countermeasures code path.
2007-02-22Fix compiler warningsYang Tse
"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.
2006-08-19Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPEDaniel Stenberg
command on subsequent requests on a re-used connection unless it has to.
2006-04-25Paul Querna fixed libcurl to better deal with deflate content encoding whenDaniel Stenberg
the stream (wrongly) lacks a proper zlib header. This seems to be the case on too many actual server implementations.
2005-03-31Updated the copyright year since changes have been this year.Daniel Stenberg
2005-02-07Fix for a bug report that compressed files that are exactly 64 KiB longDan Fandrich
produce a zlib error.
2004-11-30Dan Fandrich's fix for libz 1.1 and "extra field" usage in a gzip streamDaniel Stenberg
2004-10-27Dan Fandrich's gzip handling fixDaniel Stenberg
2004-07-04typecast the conversion to uInt when assigning z->avail_in to preventDaniel Stenberg
warnings from picky compilers
2004-05-12Edited comments only.Daniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-04-26ignore the curl/types.h header fileDaniel Stenberg
2004-02-15another case which should use CURLcode and not intDaniel Stenberg
2004-02-13use CURLcode, not int, prevents picky compilers to warnDaniel Stenberg
2004-01-29Dan Fandrich's cleanup patch to make pedantic compiler options cause lessDaniel Stenberg
warnings. Minor edits by me.
2004-01-16Gisle Vanem's patch for variables that "might be used uninitialized"Daniel Stenberg
2004-01-07updated year in the copyright stringDaniel Stenberg
2004-01-05Dan Fandrich's zlib fixDaniel Stenberg
2003-04-22Dan Fandrich's gzip bugfixDaniel Stenberg
2003-04-11Nic fixed so that Curl_client_write() must not be called with 0 lenth data.Daniel Stenberg
I edited somewhat and removed trailing whitespaces.
2003-04-11Dan Fandrich's gzip patch appliedDaniel Stenberg
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-09-02James Gallagher's Content-Encoding workDaniel Stenberg