[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom / LWPReq.pm
From: raeburn <raeburn () source ! lon-capa ! org>
Date: 2018-09-20 18:43:24
Message-ID: cvsraeburn1537469004 () cvsserver
[Download RAW message or body]
raeburn Thu Sep 20 18:43:24 2018 EDT
Modified files:
/loncom LWPReq.pm
Log:
- Explicitly require LWP::Protocol::http for older versions of libwww.
Index: loncom/LWPReq.pm
diff -u loncom/LWPReq.pm:1.3 loncom/LWPReq.pm:1.4
--- loncom/LWPReq.pm:1.3 Thu Sep 20 14:17:01 2018
+++ loncom/LWPReq.pm Thu Sep 20 18:43:24 2018
@@ -2,7 +2,7 @@
# LON-CAPA wrapper for LWP UserAgent to accommodate certification
# verification for SSL.
#
-# $Id: LWPReq.pm,v 1.3 2018/09/20 14:17:01 raeburn Exp $
+# $Id: LWPReq.pm,v 1.4 2018/09/20 18:43:24 raeburn Exp $
#
# The LearningOnline Network with CAPA
#
@@ -175,6 +175,7 @@
if (LWP::UserAgent->VERSION >= 5.834) {
$ua->local_address('127.0.0.1');
} else {
+ require LWP::Protocol::http;
local @LWP::Protocol::http::EXTRA_SOCK_OPTS =
(LocalAddr => '127.0.0.1');
}
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic