mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-13 10:51:03 +00:00
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:
parent
ccdeaa86b4
commit
7429dfa209
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue