home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / ssl / set_proxy.al < prev    next >
Encoding:
Text File  |  2004-03-20  |  537 b   |  17 lines

  1. # NOTE: Derived from blib\lib\Net\SSLeay.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package Net::SSLeay;
  5.  
  6. #line 1902 "blib\lib\Net\SSLeay.pm (autosplit into blib\lib\auto\Net\SSLeay\set_proxy.al)"
  7. sub set_proxy ($$;**) {
  8.     ($proxyhost, $proxyport, $proxyuser, $proxypass) = @_;
  9.     require MIME::Base64 if $proxyuser;
  10.     $proxyauth = 'Proxy-authorization: basic '
  11.     . MIME::Base64::encode("$proxyuser:$proxypass", '')
  12.         if $proxyuser;
  13. }
  14.  
  15. # end of Net::SSLeay::set_proxy
  16. 1;
  17.