K 10 svn:author V 3 des K 8 svn:date V 27 2000-10-22T12:07:28.000000Z K 7 svn:log V 563 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. END