summaryrefslogtreecommitdiff
path: root/src/GZipFile.cc
Commit message (Collapse)AuthorAgeFilesLines
* GZipFile: Move buf_, buflen_ to initializer listTatsuhiro Tsujikawa2013-03-031-3/+2
|
* Rewrite GZipFile::vprintf()Tatsuhiro Tsujikawa2013-03-031-17/+44
| | | | | | MINGW does not have vasprintf(), so we use _vscprintf() and vsnprintf(). We want to reuse buffer, so for non-MINGW we use vsnprintf() with retrying doubling buffer size if output is truncated.
* Support for gzipped -i and --save-sessionNils Maier2013-03-021-0/+161
Saved sessions may very large, as in hundreds and even thousands of megabyte when dealing with large queues. Add support to save and reload sessions to gzipped files, when libz is available. The session serializer will output gzipped contents when the file ends with .gz, while the input file reader (UriListParser) will accept whatever is thrown at it.