DragonFly commits List (threaded) for 2012-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: libfetch: Fix hang due to SSL server closing before read completes
commit 5807cf3c35db5fe11789b11a0bbdc96210746d1f
Author: John Marino <draco@marino.st>
Date: Thu Nov 1 20:31:08 2012 +0100
libfetch: Fix hang due to SSL server closing before read completes
If the server sends a close notification before before a SSL read
operation is complete, fetch will hang. Fix this by reworking
fetch_read() to use non-blocking sockets.
Taken-From: FreeBSD SVN 210568 (28 JUL 2010)
Taken-From: FreeBSD SVN 214256 (23 OCT 2010)
Summary of changes:
lib/libfetch/common.c | 109 ++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 89 insertions(+), 20 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5807cf3c35db5fe11789b11a0bbdc96210746d1f
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]