GRAYBYTE WORDPRESS FILE MANAGER4189

Server IP : 198.54.121.189 / Your IP : 216.73.216.224
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/local/share/perl5/LWP/Protocol/https/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/local/share/perl5/LWP/Protocol/https//hosts.pm
package LWP::Protocol::https::hosts;

use strict;
use warnings;
use parent 'LWP::Protocol::https';
use LWP::UserAgent::DNS::Hosts;

sub _extra_sock_opts {
    my ($self, $host, $port) = @_;

    my @opts = $self->SUPER::_extra_sock_opts($host, $port);
    if (my $peer_addr = LWP::UserAgent::DNS::Hosts->_registered_peer_addr($host)) {
        push @opts, (
            PeerAddr          => $peer_addr,
            Host              => $host,
            SSL_verifycn_name => $host,
            SSL_hostname      => $host, # for SNI
        );
    }

    return @opts;
}

sub socket_class { 'LWP::Protocol::https::Socket' }

1;

__END__

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 06 2024 00:15:13
root / root
0755
hosts.pm
0.622 KB
August 16 2020 04:57:43
root / root
0444

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF