Skip to content

Commit

Permalink
Fixes TypeError in extended_urllib.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Femerstrand committed Jan 20, 2017
1 parent 4680a3c commit 3e5a4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion w3af/core/data/url/extended_urllib.py
Expand Up @@ -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,
Expand Down

0 comments on commit 3e5a4f6

Please sign in to comment.