Changes between Initial Version and Version 1 of Ticket #49496, comment 1
- Timestamp:
- Oct 17, 2016, 3:06:53 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49496, comment 1
initial v1 1 Another possibility is to invoke rsync (eventually with --timeout, in case the connection stalls), and send it a TERM signal if it's not finished in e.g. 2 minutes, to retry using a different mirror. An alternative to ping is getting the region using the free MaxMind GeoIP Lite database [1], but ping might be simpler to implement.1 Another possibility is to invoke rsync (eventually with --timeout, in case the connection stalls), and send it a TERM signal if it's not finished in e.g. 2 minutes, to retry using a different mirror. An alternative to ping is getting the region using the free MaxMind GeoIP Lite database ![1], but ping might be simpler to implement. 2 2 3 3 As for the user interface, since you said that nobody made such a request in all these years, I'd also settle for the installer checking if there's an environment variable MACPORTS_MIRROR set, and using that. 4 4 5 [1] http://wiki.tcl.tk/125215 ![1] http://wiki.tcl.tk/12521