Searched hist:67430 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/lib/libfetch/
H A Dftp.cdiff 67430 Sun Oct 22 10:07:28 MDT 2000 des 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.

Completed in 101 milliseconds