cached connection debugging

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2476 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-03-29 13:40:54 +00:00
parent ccdeaa86b4
commit 7429dfa209

View file

@ -458,7 +458,8 @@ class HttpUrl (urlbase.UrlBase, proxysupport.ProxySupport):
key = (scheme, self.urlparts[1], _user, _password)
conn = self.consumer.cache.get_connection(key)
if conn is not None:
# reuse cached HTTP(S) connection
linkcheck.log.debug(linkcheck.LOG_CHECK,
"reuse cached HTTP(S) connection %s", conn)
return conn
if scheme == "http":
h = linkcheck.httplib2.HTTPConnection(host)