Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 17, 2012
  1. Merge branch 'master' into zsync_y

  2. Add -R (ssl client certificate) and -S (private key) command line opt…

    merlino authored committed
  3. add -I (interface) command line option

    merlino authored committed
  4. Add -T command line option that tells curl to set a timeout on the co…

    merlino authored committed
    …nnection (through CURLOPT_TIMEOUT). Also, always try to set SO_KEEPALIVE on curl sockets, but don't worry if it fails.
  5. Respect ZSYNC_CA_BUNDLE environment variable as an alternative to the…

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

    merlino authored committed
    * 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
  7. Check return value of last zsync_receive_data call after client.c:fet…

    merlino authored committed
    …ch_remaining_blocks_http hits eof
  8. add valid_length to fix handling of !zs->filelen on 0 byte files

    eam authored committed
Commits on Sep 19, 2010
  1. Cope with filesystems not supporting link().

    Colin Phipps authored
  2. Seed file reading optimisations.

    Colin Phipps authored
    Stop reading seed files if target is complete.
    Also deduplicate seed files.
    Optimisations suggested by Jan Varho.
Commits on Jan 22, 2009
  1. Set mtime on downloaded files to match the source file.

    Colin Phipps authored
Commits on Jan 18, 2009
  1. Code indentation cleanup and better explanatory comments on the clien…

    Colin Phipps authored
    …t, http and zsyncmake code.
  2. -q replaces -s, and now also suppresses the warning about no relevant…

    Colin Phipps authored
    … local data - useful for scripts.
    -s remains as a deprecated synonym (but no warning).
  3. Update copyright notices.

    Colin Phipps authored
  4. Various URL handing improvements.

    Colin Phipps authored
    Unsupported URL schemes for the .zsync file no longer treat the URL as a local file name.
  5. Include dmalloc.h after system includes.

    Colin Phipps authored
Commits on Aug 23, 2007
  1. Add global header file to wrap/extend config.h (from Dennis Schridde).

    Colin Phipps authored
    Update copyright notices, add notices missing from some files.
Commits on Jul 25, 2006
  1. Use AC_SYS_LARGEFILE to get large file support; referencing off64_t d…

    Colin Phipps authored
    …irectly is not a good approach.
    Move config.h to the top of the source files, so it can affect system headers.
    Fix some other header issues.
    Update for current automake.
Commits on Jul 6, 2006
  1. Complete basic auth support, and document.

    Colin Phipps authored
Commits on Jan 15, 2006
  1. Starting Basic auth support

    Colin Phipps authored
  2. 0.4.2

    Colin Phipps authored
  3. 0.4.0

    Colin Phipps authored
  4. 0.3.3

    Colin Phipps authored
  5. 0.3.2

    Colin Phipps authored
  6. 0.3.0

    Colin Phipps authored
  7. 0.2.1

    Colin Phipps authored
  8. 0.2.0

    Colin Phipps authored
  9. 0.1.4

    Colin Phipps authored
  10. 0.1.3

    Colin Phipps authored
  11. 0.1.2

    Colin Phipps authored
  12. 0.1.1

    Colin Phipps authored
  13. 0.1.0

    Colin Phipps authored
  14. 0.0.6

    Colin Phipps authored
  15. 0.0.4

    Colin Phipps authored
  16. 0.0.4

    Colin Phipps authored
Something went wrong with that request. Please try again.