From 269d6bde24050da05d6d0f80f4b291eb1213e9f6 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 27 Dec 2010 00:14:29 +0000 Subject: [PATCH] this one is pretty complicated (authentication handler tries to call keep alive module, while keep alive module tries to call authentication handler, leading to an infinite recursion) --- lib/core/option.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/core/option.py b/lib/core/option.py index 79bbc9035..c955e0f22 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -118,6 +118,11 @@ def __urllib2Opener(): warnMsg += "been disabled because of it's incompatibility " warnMsg += "with HTTP(s) proxy" logger.warn(warnMsg) + elif conf.aType: + warnMsg = "persistent HTTP(s) connections, Keep-Alive, has " + warnMsg += "been disabled because of it's incompatibility " + warnMsg += "with authentication methods" + logger.warn(warnMsg) else: handlers.append(keepAliveHandler)