Changes between Initial Version and Version 1 of Ticket #43280, comment 1


Ignore:
Timestamp:
Apr 8, 2014, 2:43:35 PM (10 years ago)
Author:
neverpanic (Clemens Lang)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43280, comment 1

    initial v1  
    1 Yes, I'm aware of that. It gets even worse in verbose mode, where ^C doesn't abort until the download is completed. The try-catch-block that wraps `curl fetch` needs to detect whether the download was stopped because of a signal, and if it was pass the error up instead of trying the next mirror.
     1Yes, I'm aware of that. It gets even worse in verbose mode, where !^C doesn't abort until the download is completed. The try-catch-block that wraps `curl fetch` needs to detect whether the download was stopped because of a signal, and if it was pass the error up instead of trying the next mirror.
    22
    33The curl code also needs to me sure it aborts immediately when receiving a signal. I'm not sure how we can do given the way the curl API looks. We might have to switch to `curl_multi_perform`.