* bug#60154: ‘guix substitute’ gets stuck when connection goes down
@ 2022-12-17 11:14 Ludovic Courtès
0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2022-12-17 11:14 UTC (permalink / raw)
To: 60154
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’.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-17 11:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-17 11:14 bug#60154: ‘guix substitute’ gets stuck when connection goes down Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).