Andres, right now I have gotten BadStatusLine exception in Python 2.7 :(

what do you think about such patch?

$ diff -u xUrllib.py.old xUrllib.py
--- xUrllib.py.old      2012-07-26 16:13:10.000000000 +0400
+++ xUrllib.py  2012-07-26 16:13:25.000000000 +0400
@@ -558,7 +558,11 @@
                           traceback.format_exc())
              req._Request__original = original_url
              # Then retry!
-            return self._retry(req, e, cache)
+            try:
+                return self._retry(req, e, cache)
+            except w3afMustStopOnUrlError, e:
+                self._incrementGlobalErrorCount(e)
+                return self._new_no_content_resp(original_url_inst, 
log_it=True)
          except KeyboardInterrupt:
              # Correct control+c handling...
              raise


-- 
Taras
http://oxdef.info
GPG: C8D1F510

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to