From 7429dfa209ed1bbaca77d9ca2589e472b69d4308 Mon Sep 17 00:00:00 2001 From: calvin Date: Tue, 29 Mar 2005 13:40:54 +0000 Subject: [PATCH] cached connection debugging git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2476 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/checker/httpurl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linkcheck/checker/httpurl.py b/linkcheck/checker/httpurl.py index c7322e17..de744bf4 100644 --- a/linkcheck/checker/httpurl.py +++ b/linkcheck/checker/httpurl.py @@ -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)