Diff for /loncom/LWPReq.pm between versions 1.3 and 1.4

version 1.3, 2018/09/20 14:17:01 version 1.4, 2018/09/20 18:43:24
Line 175  sub makerequest { Line 175  sub makerequest {
                 if (LWP::UserAgent->VERSION >= 5.834) {                  if (LWP::UserAgent->VERSION >= 5.834) {
                     $ua->local_address('127.0.0.1');                      $ua->local_address('127.0.0.1');
                 } else {                  } else {
                       require LWP::Protocol::http;
                     local @LWP::Protocol::http::EXTRA_SOCK_OPTS =                      local @LWP::Protocol::http::EXTRA_SOCK_OPTS =
                           (LocalAddr => '127.0.0.1');                            (LocalAddr => '127.0.0.1');
                 }                  }

Removed from v.1.3  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>