diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 78a49676fe..6d82f3af07 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -332,6 +332,14 @@ class Wget(FetchMethod): | |||
332 | # debug for now to avoid spamming the logs in e.g. remote sstate searches | 332 | # debug for now to avoid spamming the logs in e.g. remote sstate searches |
333 | logger.debug2("checkstatus() urlopen failed: %s" % e) | 333 | logger.debug2("checkstatus() urlopen failed: %s" % e) |
334 | return False | 334 | return False |
335 | except ConnectionResetError as e: | ||
336 | if try_again: | ||
337 | logger.debug2("checkstatus: trying again") | ||
338 | return self.checkstatus(fetch, ud, d, False) | ||
339 | else: | ||
340 | # debug for now to avoid spamming the logs in e.g. remote sstate searches | ||
341 | logger.debug2("checkstatus() urlopen failed: %s" % e) | ||
342 | return False | ||
335 | return True | 343 | return True |
336 | 344 | ||
337 | def _parse_path(self, regex, s): | 345 | def _parse_path(self, regex, s): |