Subject: | [PATCH] README.SSL is not anymore available at the linpro.no URL |
See attachment,
Regards,
Slaven
Subject: | LWP-READMESSL.patch |
From 27b7fcc49f6b3b23fc12036697413fc09b23b7a4 Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Wed, 1 Apr 2009 19:25:49 +0200
Subject: [PATCH] README.SSL is not anymore available at the linpro.no URL. Also,
mention IO::Socket::SSL as an alternative to Crypt::SSLeay.
---
lib/LWP/UserAgent.pm | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/LWP/UserAgent.pm b/lib/LWP/UserAgent.pm
index e99ac50..9caabe1 100644
--- a/lib/LWP/UserAgent.pm
+++ b/lib/LWP/UserAgent.pm
@@ -158,11 +158,12 @@ sub send_request
$@ =~ s/ at .* line \d+.*//s; # remove file/line number
$response = _new_response($request, &HTTP::Status::RC_NOT_IMPLEMENTED, $@);
if ($scheme eq "https") {
- $response->message($response->message . " (Crypt::SSLeay not installed)");
+ $response->message($response->message . " (Crypt::SSLeay or IO::Socket::SSL not installed)");
$response->content_type("text/plain");
$response->content(<<EOT);
-LWP will support https URLs if the Crypt::SSLeay module is installed.
-More information at <http://www.linpro.no/lwp/libwww-perl/README.SSL>.
+LWP will support https URLs if either Crypt::SSLeay or IO::Socket::SSL
+is installed. More information at
+<http://search.cpan.org/dist/libwww-perl/README.SSL>.
EOT
}
}
--
1.6.2.1