bad failure mode on https "connection refused"

Greg Roelofs (newt@pobox.com)
Wed, 21 Feb 2001 15:48:24 -0800


[I'm not on this list, in case it's not obvious.]

/usr/bin/HEAD from a just-installed libwww-perl 5.50 with Crypt-SSLeay
(0.22) support appears not to detect "connection refused" errors correctly.
Rather than generating its own "500 Server error" (or similar), it fails
with:

    Can't call method "request" on an undefined value at
    /usr/lib/perl5/site_perl/LWP/UserAgent.pm line 227.

Here's an example URL (that was valid a year or two ago, anyway):

    https://cvs-mirror.mozilla.org/webtools/despot/help.html

The same thing happens for a site that has never run a secure server

    https://vevo.com/

and one for which Netscape reports a network "I/O error":

    https://pobox.com/

Other than that, this is a stupendously useful tool.  Many thanks!

Regards,
-- 
Greg Roelofs            newt@pobox.com            http://pobox.com/~newt/
Newtware, PNG Group, Info-ZIP, Philips Research, ...