diff options
author | des <des@FreeBSD.org> | 2010-07-28 16:11:22 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2010-07-28 16:11:22 +0000 |
commit | 5df649f424ee69fa0b93f402f3f80d2e9c6032c3 (patch) | |
tree | 7abbe752657ae7ba989d20a1c5cf3101173e9b33 /lib/libfetch/ftp.c | |
parent | 0e79832f151287e129eefe34d7efdfa6d581ae07 (diff) | |
download | FreeBSD-src-5df649f424ee69fa0b93f402f3f80d2e9c6032c3.zip FreeBSD-src-5df649f424ee69fa0b93f402f3f80d2e9c6032c3.tar.gz |
Redo fetch_read() using non-blocking sockets. This is necessary to
avoid a hang in the SSL case if the server sends a close notification
before we are done reading. In the non-SSL case, it can provide a
minor (but probably not noticeable) performance improvement for small
transfers.
MFC after: 3 weeks
Diffstat (limited to 'lib/libfetch/ftp.c')
0 files changed, 0 insertions, 0 deletions