git: fetch(1), libfetch: Sync with FreeBSD
John Marino
marino at crater.dragonflybsd.org
Tue Feb 4 00:08:19 PST 2014
commit f9a3e900e919da86cafe60e5373915c56849977c
Author: John Marino <draco at marino.st>
Date: Tue Feb 4 00:12:32 2014 +0100
fetch(1), libfetch: Sync with FreeBSD
Changes include:
* Increase buffer size from 4K to 16K
* Include Accept header in requests
* Implement certificate verification
* libfetch support
Summary of changes:
lib/libfetch/common.c | 671 ++++++++++++++++++++++++++++++++++++++++-------
lib/libfetch/common.h | 16 +-
lib/libfetch/fetch.3 | 115 +++++++-
lib/libfetch/fetch.c | 6 +-
lib/libfetch/fetch.h | 5 +-
lib/libfetch/file.c | 4 +-
lib/libfetch/ftp.c | 2 +
lib/libfetch/ftp.errors | 3 +-
lib/libfetch/http.c | 81 +++---
lib/libfetch/http.errors | 2 +-
usr.bin/fetch/Makefile | 1 -
usr.bin/fetch/fetch.1 | 186 ++++++++++---
usr.bin/fetch/fetch.c | 304 ++++++++++++++++-----
13 files changed, 1126 insertions(+), 270 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f9a3e900e919da86cafe60e5373915c56849977c
--
DragonFly BSD source repository
More information about the Commits
mailing list