DragonFly BSD
DragonFly commits List (threaded) for 2012-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: libfetch: Fix PROXY_HOST bug, socket leak, cache-crash


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Nov 2012 14:56:59 -0700 (PDT)

commit ba1d801e083c520ff4cb89128deda9b887d6fd0b
Author: John Marino <draco@marino.st>
Date:   Thu Nov 1 20:02:52 2012 +0100

    libfetch: Fix PROXY_HOST bug, socket leak, cache-crash
    
    As described in FreeBSD PR kern/139751, NO_PROXY=localhost doesn't work
    due to bad for loop count.
    
    As described in FreeBSD PR kern/153748, an ftp-cached connection will
    close the connection too early when trying to send a request.
    
    There is a socket leak in ftp_request that occurs after a connection is
    established.  Make sure socket is disconnected before exiting.
    
    Taken-From: FreeBSD SVN 198339 (21 OCT 2009)
    Taken-From: FreeBSD SVN 199801 (25 NOV 2009)
    Taken-From: FreeBSD SVN 217505 (17 JAN 2011)

Summary of changes:
 lib/libfetch/common.c |    3 +--
 lib/libfetch/ftp.c    |   12 +++++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ba1d801e083c520ff4cb89128deda9b887d6fd0b


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]