[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60154: ‘guix substitute’ gets stuck when connection goes down
From: |
Ludovic Courtès |
Subject: |
bug#60154: ‘guix substitute’ gets stuck when connection goes down |
Date: |
Sat, 17 Dec 2022 12:14:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
As noted while debugging <https://issues.guix.gnu.org/59784>, turning
off networking while ‘guix substitute’ is downloading (be it with
“ifconfig X down” or by physically unplugging the cable) leads it to be
stuck in ‘read’ or ‘recvfrom’ for a long time.
Most likely this can be addressed by setting SO_RCVTIMEO and SO_SNDTIMEO
to a reasonable value on the socket.
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#60154: ‘guix substitute’ gets stuck when connection goes down,
Ludovic Courtès <=