#43280: cannot cancel fetch ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: | Keywords: Port: | ---------------------------+-------------------- Changes (by cal@…): * owner: macports-tickets@… => cal@… * cc: cal@… (removed) Comment: 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. The 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`. -- Ticket URL: <https://trac.macports.org/ticket/43280#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X