summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_sig.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-10-22 12:07:28 +0000
committerdes <des@FreeBSD.org>2000-10-22 12:07:28 +0000
commitd1e9930273e420d75874e143a8d8dda370574638 (patch)
tree1676d447f539555c8f1958eca737032e0626350b /lib/libpthread/thread/thr_sig.c
parentcdb92ab985da815edb3ed6f156cc138ef8c69b25 (diff)
downloadFreeBSD-src-d1e9930273e420d75874e143a8d8dda370574638.zip
FreeBSD-src-d1e9930273e420d75874e143a8d8dda370574638.tar.gz
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.
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud