Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 29052
Status: resolved
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: ELLIOTJS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.9102
Fixed in: (no value)



Subject: Feature request: fail if none of the hosts in urllist works.
We've got an internal CPAN repository and it is the only thing in the urllist configuration. We only want to be able to fetch from that repository and not go anywhere else. Unfortunately, cpan attempts to contact the outside world with default URLs when it can't contact that internal server. We've got a workaround: by not including proxy information in Config.pm, all attempts to contact the outside world fail, but the results are not pretty as cpan attempts everything it can to get somewhere. So, could there be a configuration option to tell it to not be so persistent? CPAN is too robust. :]
I've touched this area for 1.91_55 which was released yesterday. CPAN now asks if it may connect to the internet before it contacts one of the hardcoded default hosts. It seems to me that this resolves this bug. If not, please reopen. Thanks for the suggestion!