freebsd-skq/lib/libfetch
Dag-Erling Smørgrav c7d40ef296 Use funopen() instead of fdopen(). This fixes three problems:
- ftpTimeout was not honored when reading actual data, as opposed to
   talking protocol

 - connection caching was broken because _ftp_cached_connect() would see
   the result of the transfer instead of the result of the NOOP.

 - if the RETR succeeded, but an error occurred later (as can happen
   when talking to a proxy), the error would not be detected.

There still remains to register an atexit(3) callback to close the cached
connection gracefully instead of just dropping it on the floor.
2000-10-22 12:07:28 +00:00
..
common.c Introduce the (undocumented) variable fetchRestartCalls, which controls whether 2000-07-17 20:49:39 +00:00
common.h ftp.c needs _http_request() 2000-10-12 22:10:43 +00:00
fetch.3 Document recent changes in URL parsing and proxy handling 2000-10-12 22:11:26 +00:00
fetch.c If the scheme is HTTP or HTTPS, percent-escape whitespace in the document 2000-10-21 14:58:18 +00:00
fetch.h Add macros for the names of the URL schemes we support. 2000-10-12 21:59:22 +00:00
file.c Introduce fetchXGet*(), which combine the functionalities of fetchGet*() and 2000-07-17 21:25:00 +00:00
ftp.c Use funopen() instead of fdopen(). This fixes three problems: 2000-10-22 12:07:28 +00:00
ftp.errors IPv6 support. 2000-05-20 18:23:51 +00:00
http.c Rework proxy handling so that proxies can be specified as URLs. 2000-10-12 22:10:26 +00:00
http.errors Add error codes for protocol errors. 2000-01-07 12:56:27 +00:00
Makefile Dump com_err, it's a stinking crock of shit. 2000-05-25 16:24:31 +00:00
README First of a series of cleanups to libfetch. Changed files, in 1998-11-05 19:48:17 +00:00

This is the new fetch(3) library, which is to replace the ftpio(3)
library and provide a new, unified backend for all fetch(1),
pkg_add(1) and sysinstall(8).

Note that this is very much work in progress. It compiles (with a few
warnings), but there is much left to be implemented. Comments, patches
etc. of all kinds are welcome, but please don't commit anything
without talking to me first.

		-- Dag-Erling C. Smørgrav (des@FreeBSD.org)