Switch branches/tags
Nothing to show
Commits on Jan 18, 2012
  1. Fix off-by-one

    gianm committed Jan 18, 2012
Commits on Jan 17, 2012
  1. Merge branch 'master' into zsync_y

    gianm committed Jan 17, 2012
  2. Add -R (ssl client certificate) and -S (private key) command line opt…

    merlino committed with gianm Jul 11, 2011
  3. add -I (interface) command line option

    merlino committed with gianm Feb 10, 2011
  4. Add -T command line option that tells curl to set a timeout on the co…

    …nnection (through CURLOPT_TIMEOUT). Also, always try to set SO_KEEPALIVE on curl sockets, but don't worry if it fails.
    merlino committed with gianm Feb 4, 2011
  5. Rename symbols in bundled zlib so it can coexist with dynamically lin…

    …ked system zlib. Also rename md4/sha1 symbols for good measure, even though they don't seem to conflict with anything.
    merlino committed with gianm Jan 11, 2011
  6. Update zsync man page with -v, -C, -K, and ZSYNC_CA_BUNDLE.

    Bump version to 0.6.1_7
    merlino committed with gianm Jan 6, 2011
  7. Respect ZSYNC_CA_BUNDLE environment variable as an alternative to the…

    … -C option. But, if -C is provided, ignore the environment variable.
    merlino committed with gianm Jan 6, 2011
  8. Replace zsync's http client with libcurl.

    * instead of using get_range_block and get_more_data to pull data from the server, callbacks range_fetch_read_http_headers and range_fetch_read_http_content will process data pushed from libcurl.
    * no longer buffers anything except lines in MIME multipart delimiters (those are buffered because curl might split a line when pushing data to us, and it's easier to parse line by line)
    * removed proxy code; libcurl handles it.
    * issues:
      - pipelining no longer works
      - http authentication no longer works; not sure how to deal with the fact that zsync lets you set a different user/pass for each hostname but libcurl does not (probably either drop that feature, or turn off CURLOPT_FOLLOWLOCATION and instead loop around watching CURLINFO_REDIRECT_URL)
      - also see XXX comments above http_get for behavior changes.
    * get_http_host_port no longer needed
    * replace call to http.c:get_range_block + http.c:zsync_receive_data with http.c:range_fetch_perform
    * add -v (verbose) option to put libcurl in verbose mode
    * add -K (insecure) and -C (ca cert) options to help control HTTPS fetches
    * exit(1) if -A is provided, since HTTP auth doesn't work right now
    * use same curl handle for control file + actual download (for reuse of the connection and SSL session)
    * ignore MIME multipart preamble and epilogue, if present
    * restore fine-grained progress meter
    * restore support for HTTP pipelining
    * restore support for HTTP authentication
    * restore old behavior noted in XXX comments above http_get
    merlino committed with gianm Jan 5, 2011
  9. zsync.c: in zsync_needed_byte_ranges, don't return a range that goes …

    …beyond the end of the file (clip to zs->filelen instead)
    merlino committed with gianm Jan 5, 2011
  10. zsync.h: add include guards

    merlino committed with gianm Jan 5, 2011
  11. zsync.c: in parse_822, strptime will not initialize tm_isdst, so set …

    …it to -1
    merlino committed with gianm Jan 5, 2011
  12. state.c: in rcksum_init, use calloc instead of malloc to avoid later …

    …uninitialized memory use. the extra z->seq_matches blockhashes will be referenced but not initialized. this may or may not be masking the true problem.
    merlino committed with gianm Jan 5, 2011
  13. Check return value of last zsync_receive_data call after client.c:fet…

    …ch_remaining_blocks_http hits eof
    merlino committed with gianm Nov 1, 2010
  14. ifdef inittypes/stdint

    eam committed with gianm Jul 28, 2009
  15. relocate declaration to block start -- no c99

    eam committed with gianm Jul 22, 2009
Commits on Sep 23, 2010
  1. Include the README.zlib in the release.

    Oops; thanks Marcin.
    cph6 committed Sep 23, 2010
Commits on Sep 20, 2010
  1. Release 0.6.2; add images to repo.

    cph6 committed Sep 20, 2010
  2. Fix check-zsyncmake.

    It needed updating for the new verson.
    Make the script version-independent now.
    And it needed fixing for mtimes too.
    cph6 committed Sep 19, 2010
  3. Switch to autoreconf for making autotools files.

    Idea from Loïc Minier.
    cph6 committed Sep 16, 2010
Commits on Sep 19, 2010
  1. Seed file reading optimisations.

    Stop reading seed files if target is complete.
    Also deduplicate seed files.
    Optimisations suggested by Jan Varho.
    cph6 committed Sep 16, 2010
  2. Fix redirect handling.

    Also report redirects, and report non-HTTP responses.
    cph6 committed Sep 16, 2010
  3. Fix some signedness warnings.

    cph6 committed Sep 16, 2010
  4. Fix --disable-profile.

    cph6 committed Sep 16, 2010
Commits on Jun 13, 2010
  1. Exit with error if given a truncated .gz file.

    (Previously zsyncmake would infinite loop.)
    Colin Phipps committed Jun 13, 2010
Commits on Mar 22, 2010
  1. Unit test for MD4 implementation.

    Colin Phipps committed Mar 22, 2010
Commits on Dec 13, 2009
  1. After discussion with Mark Adler, I've reformatted my explanation to …

    …him and included the remarks alongside my custom zlib, for my own future reference and for others.
    Colin Phipps committed Dec 13, 2009
Commits on Dec 12, 2009