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

version 1.3, 2018/09/20 14:17:01 version 1.5, 2018/12/22 17:52:39
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');
                 }                  }
Line 203  sub makerequest { Line 204  sub makerequest {
             }              }
         }          }
    }     }
      if ($debug) {
          $IO::Socket::SSL::DEBUG=0;
      }
    if ($dns_set) {     if ($dns_set) {
        $dns_set = &unsetdns();         $dns_set = &unsetdns();
    }     }

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


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