Skip to content


Subversion checkout URL

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

  2. add -I (interface) command line option

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

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

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

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

    merlino committed with
    …ch_remaining_blocks_http hits eof
Commits on Sep 19, 2010
  1. Cope with filesystems not supporting link().

    Colin Phipps committed
  2. Seed file reading optimisations.

    Colin Phipps committed
    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 committed
Commits on Jan 18, 2009
  1. Code indentation cleanup and better explanatory comments on the clien…

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

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

    Colin Phipps committed
  4. Various URL handing improvements.

    Colin Phipps committed
    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 committed
Commits on Aug 23, 2007
  1. Add global header file to wrap/extend config.h (from Dennis Schridde).

    Colin Phipps committed
    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 committed
    …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 committed
Commits on Jan 15, 2006
  1. Starting Basic auth support

    Colin Phipps committed
  2. 0.4.2

    Colin Phipps committed
  3. 0.4.0

    Colin Phipps committed
  4. 0.3.3

    Colin Phipps committed
  5. 0.3.2

    Colin Phipps committed
  6. 0.3.0

    Colin Phipps committed
  7. 0.2.1

    Colin Phipps committed
  8. 0.2.0

    Colin Phipps committed
  9. 0.1.4

    Colin Phipps committed
  10. 0.1.3

    Colin Phipps committed
  11. 0.1.2

    Colin Phipps committed
  12. 0.1.1

    Colin Phipps committed
  13. 0.1.0

    Colin Phipps committed
  14. 0.0.6

    Colin Phipps committed
  15. 0.0.4

    Colin Phipps committed
  16. 0.0.4

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