Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: YoeDistro/bitbake
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c3168df330a4563cbd03ba74de55a22217d823ed
Choose a base ref
...
head repository: YoeDistro/bitbake
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d0f5c5905bc664e415a05e3130dfe0ae541d8b3e
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Feb 21, 2021

  1. fetch2/wget: Avoid crashing when connection drops mid checkstatus

        If an exception is raised when running host python code, the fetcher
        immediately crashes, this might be temporary depending on the servers
        reliability.
    
        Catch the exception when the connection was reset and try once again
        to fetch the data.
    
        File: '/usr/lib/python3.8/socket.py', lineno: 669, function: readinto
             0665:        if self._timeout_occurred:
             0666:            raise OSError("cannot read from timed out object")
             0667:        while True:
             0668:            try:
         *** 0669:                return self._sock.recv_into(b)
             0670:            except timeout:
             0671:                self._timeout_occurred = True
             0672:                raise
             0673:            except error as e:
        Exception: ConnectionResetError: [Errno 104] Connection reset by peer
    
    Signed-off-by: Alejandro Enedino Hernandez Samaniego <[email protected]>
    Signed-off-by: Richard Purdie <[email protected]>
    ahcbb6 authored and rpurdie committed Feb 21, 2021
    Copy the full SHA
    d0f5c59 View commit details
Loading