diff options
Diffstat (limited to 'boost/build/build.py')
-rwxr-xr-x | boost/build/build.py | 2 |
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 |