diff --git a/w3af/core/data/url/extended_urllib.py b/w3af/core/data/url/extended_urllib.py index 81b194864b..72eb7da9c5 100644 --- a/w3af/core/data/url/extended_urllib.py +++ b/w3af/core/data/url/extended_urllib.py @@ -1052,7 +1052,7 @@ def _server_root_path_is_reachable(self, request): # Sadly this time the error would be fatal since the scan would # stop. timeout = self.get_timeout(host) * 4 - self.set_timeout(timeout) + self.set_timeout(timeout, host) req = HTTPRequest(root_url, cookies=True, cache=False, error_handling=False, method='GET', retries=0,