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
..
2000-06-14 14:38:11 +00:00
2000-10-14 16:38:08 +00:00
2000-10-20 00:27:56 +00:00
2000-10-21 10:08:57 +00:00
2000-10-02 22:07:53 +00:00
2000-08-17 23:46:13 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
2000-10-16 18:13:59 +00:00
2000-10-16 18:13:59 +00:00
1999-08-28 00:22:10 +00:00
2000-08-04 06:25:30 +00:00
2000-10-15 16:42:31 +00:00