aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/boost/build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xboost/build/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/build/build.py b/boost/build/build.py
index 0450593..8da8c9e 100755
--- a/boost/build/build.py
+++ b/boost/build/build.py
@@ -251,7 +251,7 @@ class ArchiveStorage(abc.ABC):
for url in urls:
logging.info('Trying URL: %s', url)
try:
- with urllib.request.urlopen(url) as request:
+ with urllib.request.urlopen(url, timeout=20) as request:
with self.write_archive(version, request.read()) as path:
yield BoostArchive(version, path)
return