-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix:
socket.getaddrinfo
does not always return 2 values
A user reported that this function crashed on his host due to `ValueError: too many values to unpack (expected 2)`. Solution: Process each returned tuple instead of assuming that two of them are always returned. This fixes the issue both in the orchestrator and in the diagnostic VM.
- Loading branch information
1 parent
76e8adc
commit a04783d
Showing
2 changed files
with
51 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters