fetch(1), libfetch: Sync with FreeBSD
authorJohn Marino <draco@marino.st>
Mon, 3 Feb 2014 23:12:32 +0000 (00:12 +0100)
committerJohn Marino <draco@marino.st>
Tue, 4 Feb 2014 08:07:51 +0000 (09:07 +0100)
commitf9a3e900e919da86cafe60e5373915c56849977c
tree0836436b0d4a59ba0f3ca60cd5609cb58473001b
parent7164ca989d14026d6f5b7acb478bb4c29daba2ce
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
13 files changed:
lib/libfetch/common.c
lib/libfetch/common.h
lib/libfetch/fetch.3
lib/libfetch/fetch.c
lib/libfetch/fetch.h
lib/libfetch/file.c
lib/libfetch/ftp.c
lib/libfetch/ftp.errors
lib/libfetch/http.c
lib/libfetch/http.errors
usr.bin/fetch/Makefile
usr.bin/fetch/fetch.1
usr.bin/fetch/fetch.c