Result:
found more than 618 distributions - search limited to the first 2001 files matching your query ( run in 0.434 )


Mojo-Cloudstack

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

    'Mojolicious'       => 0,
    'URL::Encode'       => 0,
    'Digest::HMAC_SHA1' => '1.03',
    'URI::Encode'       => 0,
    'File::HomeDir'     => 0,
    'IO::Socket::SSL'   => '2.020',
  },
  add_to_cleanup     => ['Mojo-Cloudstack-*'],
  create_makefile_pl => 'traditional',
);

 view all matches for this distribution


Mojo-GoogleAnalytics

 view release on metacpan or  search on metacpan

.travis.yml  view on Meta::CPAN

  - "5.12"
  - "5.10"
env:
  - "HARNESS_OPTIONS=j9"
install:
  - "cpanm -n Test::Pod Test::Pod::Coverage IO::Socket::SSL"
  - "cpanm -n --installdeps ."
notifications:
  email: false

 view all matches for this distribution


Mojo-IRC-Server-Chinese

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

2018-06-29 Mojo::IRC::Server::Chinese v1.8.2
1)修复客户端修改昵称时,如果昵称包含空格等特殊字符导致异常的问题
2)修复服务器打印时间中的年份格式错误
3)增加 INVITE WHOIS 支持 
4)用户登录成功后,支持输出MOTD信息
5)更新依赖关系,解决 IO::Socket::SSL 2.009+ required for TLS support 问题


2017-02-12 Mojo::IRC::Server::Chinese v1.8.1
1)新增频道bug修复
2)TLS加密支持

 view all matches for this distribution


Mojo-IRC

 view release on metacpan or  search on metacpan

lib/Mojo/IRC.pm  view on Meta::CPAN


L<Mojo::IRC> is a non-blocking IRC client using L<Mojo::IOLoop> from the
wonderful L<Mojolicious> framework.

It features IPv6 and TLS, with additional optional modules:
L<IO::Socket::IP> and L<IO::Socket::SSL>.

By default this module will only emit standard IRC events, but by
settings L</parser> to a custom object it will also emit CTCP events.
Example:

 view all matches for this distribution


Mojo-Redis2

 view release on metacpan or  search on metacpan

.travis.yml  view on Meta::CPAN

  - "TEST_SLOW=1"
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install redis-server
install:
  - "cpanm -n Test::Pod Test::Pod::Coverage IO::Socket::SSL Sort::Versions"
  - "cpanm -n --installdeps ."
notifications:
  email: false

 view all matches for this distribution


Mojo-SMTP-Client

 view release on metacpan or  search on metacpan

lib/Mojo/SMTP/Client.pm  view on Meta::CPAN

# STARTTLS
sub _cmd_starttls {
	my ($self, $arg) = @_;
	weaken $self;
	
	require IO::Socket::SSL and IO::Socket::SSL->VERSION(0.98);
	
	return (
		sub {
			my $delay = shift;
			$self->_write_cmd('STARTTLS', CMD_STARTTLS);

lib/Mojo/SMTP/Client.pm  view on Meta::CPAN

				$sock = undef;
				$tls_cb->($delay, undef, @_>=2 ? $_[1] : 'Inactivity timeout');
				$tls_cb = $delay = undef;
			};
			
			$sock = IO::Socket::SSL->start_SSL(
				$self->{stream}->steal_handle,
				SSL_ca_file         => $self->tls_ca,
				SSL_cert_file       => $self->tls_cert,
				SSL_key_file        => $self->tls_key,
				SSL_verify_mode     => $self->tls_verify,
				SSL_verifycn_name   => $self->address,
				SSL_verifycn_scheme => $self->tls_ca ? 'smtp' : undef,
				SSL_startHandshake  => 0,
				SSL_error_trap      => $error_handler
			)
			or return $delay->pass(0, $IO::Socket::SSL::SSL_ERROR);
			
			$tls_cb = $delay->begin;
			$loop = $self->_ioloop;
			
			$tid = $loop->timer($self->inactivity_timeout => $error_handler);

lib/Mojo/SMTP/Client.pm  view on Meta::CPAN

					$tls_cb = $delay = undef;
					return;
				}
				
				return $loop->reactor->watch($sock, 1, 0)
					if $IO::Socket::SSL::SSL_ERROR == IO::Socket::SSL::SSL_WANT_READ();
				return $loop->reactor->watch($sock, 0, 1)
					if $IO::Socket::SSL::SSL_ERROR == IO::Socket::SSL::SSL_WANT_WRITE();
				
			})->watch($sock, 0, 1);
		},
		sub {
			my ($delay, $resp, $error) = @_;

lib/Mojo/SMTP/Client.pm  view on Meta::CPAN

Port of SMTP server. Default is C<25> for plain connection and C<465> if TLS is enabled.

=head2 tls

Enable TLS. Should be true if SMTP server expects encrypted connection. Default is false.
Proper version of L<IO::Socket::SSL> should be installed for TLS support in L<Mojo::IOLoop::Client>,
which you can find with C<mojo version> command.

=head2 tls_ca

Path to TLS certificate authority file. Also activates hostname verification.

lib/Mojo/SMTP/Client.pm  view on Meta::CPAN

	$smtp->send(hello => 'mymail.me');

=item starttls

Upgrades connection from plain to encrypted. Some servers requires this before sending any other commands.
L<IO::Socket::SSL> 0.98+ should be installed for this to work. See also L</tls_ca>, L</tls_cert>, L</tls_key>
attributes

	$smtp->tls_ca('/etc/ssl/certs/ca-certificates.crt');
	$smtp->send(starttls => 1);

 view all matches for this distribution


Mojo-SinaWeibo

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

      },
      "runtime" : {
         "requires" : {
            "Crypt::RSA" : "0",
            "Encode::Locale" : "0",
            "IO::Socket::SSL" : "1.94",
            "Mojolicious" : "6.11"
         }
      }
   },
   "release_status" : "stable",

 view all matches for this distribution


Mojo-SlackRTM

 view release on metacpan or  search on metacpan

lib/Mojo/SlackRTM.pm  view on Meta::CPAN

package Mojo::SlackRTM;
use Mojo::Base 'Mojo::EventEmitter';

use IO::Socket::SSL;
use Mojo::IOLoop;
use Mojo::JSON ();
use Mojo::Log;
use Mojo::UserAgent;
use Scalar::Util ();

 view all matches for this distribution


Mojo-Transaction-HTTP-Role-Mechanize

 view release on metacpan or  search on metacpan

cpanfile  view on Meta::CPAN

  requires 'Devel::Cover::Report::Coveralls' => '0.11';
  requires 'Devel::Cover::Report::Kritika' => '0.05';
};

on test => sub {
  requires 'IO::Socket::SSL' => '2.009' if $ENV{CI};
};

if ($ENV{AUTHOR_RELEASE}) {
  requires 'App::git::ship';
}

 view all matches for this distribution


Mojo-UserAgent-Cached

 view release on metacpan or  search on metacpan

t/mojo/user_agent.t  view on Meta::CPAN

ok !Mojo::IOLoop::Client->can_socks, 'no SOCKS5 support';

# HTTPS request without TLS support
$ua = Mojo::UserAgent::Cached->new;
$tx = $ua->get($ua->server->url->scheme('https'));
like $tx->error->{message}, qr/IO::Socket::SSL/, 'right error';
ok !Mojo::IOLoop::TLS->can_tls, 'no TLS support';

# Promises (rejected)
my $error;
$ua->get_p($ua->server->url->scheme('https'))->catch(sub { $error = shift })->wait;
like $error, qr/IO::Socket::SSL/, 'right error';

# No non-blocking name resolution
ok !Mojo::IOLoop::Client->can_nnr, 'no non-blocking name resolution support';

# Blocking

 view all matches for this distribution


Mojo-UserAgent-Mockable

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

- Fix broken dist.ini 

1.23      2016-04-13 14:44:41-05:00 America/Chicago

- Update tests to deal with failures due to missing / old versions of 
  IO::Socket::SSL 

1.22      2016-04-13 13:03:44-05:00 America/Chicago

- Auto-add "provides" to META.* by means of 
  Dist::Zilla::Plugin::MetaProvides::Package. Submitted by Mohammad Anwar

 view all matches for this distribution


Mojo-UserAgent-Role-Cache

 view release on metacpan or  search on metacpan

.travis.yml  view on Meta::CPAN

  - "5.16"
  - "5.10"
env:
  - "HARNESS_OPTIONS=j4"
install:
  - "cpanm -n Test::Pod Test::Pod::Coverage IO::Socket::SSL CHI"
  - "cpanm -n --installdeps ."
notifications:
  email: false

 view all matches for this distribution


Mojo-UserAgent-Role-Queued

 view release on metacpan or  search on metacpan

t/02_multiple_ua.t  view on Meta::CPAN

use Mojo::Base -strict;
use Test::More;
use Mojo::UserAgent;
use Mojo::Promise;

plan skip_all => "Test requires IO::Socket::SSL 2.009+"
  unless (Mojo::IOLoop::TLS->can_tls);

# test that ua isn't acting as a singleton when this role is applied,
# based on examples/tyldum.pl (from github issue #4)
# this test should pass in version 1.11+ but fail in 1.10

 view all matches for this distribution


Mojo-UserAgent-SecureServer

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


0.04 2022-02-13T10:53:53+0900
 - Increased expiration date for the certs used by t/secure-server.t

0.03 2021-06-17T09:13:31+0900
 - Add missing dependency IO::Socket::SSL

0.02 2021-01-12T16:50:50+0900
 - Fix documentation

0.01 2021-01-12T13:05:07+0900

 view all matches for this distribution


Mojo-WebService-Twitter

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

      "module_name" => "Mojo::WebService::Twitter",
      "recursive_test_files" => 1,
      "requires" => {
        "Carp" => 0,
        "Exporter" => 0,
        "IO::Socket::SSL" => "1.94",
        "Mojolicious" => "7.62",
        "Scalar::Util" => 0,
        "Time::Piece" => "1.17",
        "WWW::OAuth" => 0,
        "perl" => "5.010001"

 view all matches for this distribution


Mojo-Webqq

 view release on metacpan or  search on metacpan

script/check_dependencies.pl  view on Meta::CPAN

    'Time::Piece'               => undef,
    'Time::Seconds'             => undef,
    'Digest::SHA'               => undef,
    'Digest::MD5'               => undef,
    'Encode::Locale'            => undef,
    'IO::Socket::SSL'           => undef,
    'Term::ANSIColor'           => undef,
);
print "Checking dependencies ...\n";
print "--------------------------------\n";
for my $module (keys %dependent_modules){

 view all matches for this distribution


Mojo-Weixin

 view release on metacpan or  search on metacpan

script/check_dependencies.pl  view on Meta::CPAN

    'Time::Piece'               => undef,
    'Time::Seconds'             => undef,
    'Digest::SHA'               => undef,
    'Digest::MD5'               => undef,
    'Encode::Locale'            => undef,
    'IO::Socket::SSL'           => undef,
    'Term::ANSIColor'           => undef,
);
print "Checking dependencies ...\n";
print "--------------------------------\n";
for my $module (keys %dependent_modules){

 view all matches for this distribution


MojoX-CPAN-Uploader

 view release on metacpan or  search on metacpan

lib/MojoX/CPAN/Uploader.pm  view on Meta::CPAN

use File::Basename;

use Mojo::Base '-base';

require Mojo::UserAgent;
require IO::Socket::SSL;

has client => sub { Mojo::UserAgent->new };
has [qw/user pass/];
has url => sub { Mojo::URL->new('https://pause.perl.org/pause/authenquery') };
has defaults => sub {

 view all matches for this distribution


MojoX-HTTP-Async

 view release on metacpan or  search on metacpan

lib/MojoX/HTTP/Async.pm  view on Meta::CPAN

use 5.020;
use warnings;
use bytes ();
use Socket qw/ inet_aton pack_sockaddr_in AF_INET SOCK_STREAM SOL_SOCKET SO_KEEPALIVE SO_OOBINLINE IPPROTO_TCP TCP_KEEPIDLE TCP_KEEPINTVL TCP_KEEPCNT /;
#use IO::Socket::IP ();
use IO::Socket::SSL ();
use Fcntl qw/ F_SETFL O_NONBLOCK FD_CLOEXEC O_NOINHERIT /;
use experimental qw/ signatures /;
use Carp qw/ croak /;
use List::Util qw/ first /;
use Time::HiRes qw/ time /;

lib/MojoX/HTTP/Async.pm  view on Meta::CPAN

Sets the scheme of requests: HTTP or HTTPS.

=item ssl_opts

It's a HashRef with options to control SSL Layer.
See C<IO::Socket::SSL> constructor arguments for details.

=item connect_timeout

By default it's equal to 1.
Sets connection timeout in seconds.

lib/MojoX/HTTP/Async.pm  view on Meta::CPAN


    $slot->{'connected_ts'} = time();
    $slot->{'reader'} = $slot->{'writer'} = $slot->{'socket'} = $socket;
    $slot->{'sock_no'} = fileno($socket);
    if ($self->{'ssl'}) {
        my $ssl_socket = IO::Socket::SSL->new_from_fd($socket, ($self->{'ssl_opts'} // {})->%*);
        croak("error=$!, ssl_error=" . $IO::Socket::SSL::SSL_ERROR) if (!$ssl_socket);
        $ssl_socket->blocking(0); # just to be sure
        $slot->{'reader'} = $slot->{'writer'} = $ssl_socket;
    }
}

 view all matches for this distribution


MojoX-IOLoop-Server-StartTLS

 view release on metacpan or  search on metacpan

lib/MojoX/IOLoop/Server/StartTLS.pm  view on Meta::CPAN

package MojoX::IOLoop::Server::StartTLS;

use IO::Socket::SSL;

# We'll use the version of Mojolicious this was written against
# but we'll add two digits for flexibility
our $VERSION = '5.1401';

lib/MojoX/IOLoop/Server/StartTLS.pm  view on Meta::CPAN

	my ($server, $stream, $options, $callback) = @_;

	$stream->on(drain => sub {
		my $handle = $stream->steal_handle;

		$stream->handle(IO::Socket::SSL->start_SSL($handle, 
			# Useful defaults
			SSL_cert_file => $CERT,
			SSL_cipher_list => '!aNULL:!eNULL:!EXPORT:!DSS:!DES:!SSLv2:!LOW:RC4-SHA:RC4-MD5:ALL',
			SSL_honor_cipher_order => 1,
			SSL_key_file => $KEY,

 view all matches for this distribution


Mojolicious-Command-nopaste

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

  requires => {
    'Mojolicious' => '7.13', # is_success
    'File::HomeDir' => 0,
  },
  recommends => {
    'IO::Socket::SSL' => '1.94', # Mojolicious SSL support
  },
  meta_merge => {
    resources => {
      repository => 'https://github.com/jberger/Mojolicious-Command-nopaste',
      bugtracker => 'https://github.com/jberger/Mojolicious-Command-nopaste/issues',

 view all matches for this distribution


Mojolicious-Plugin-AWS-SNS

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "IO::Socket::SSL" : "2.066",
            "Mojolicious" : "8.23"
         }
      }
   },
   "release_status" : "stable",

 view all matches for this distribution


Mojolicious-Plugin-AWS

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         }
      },
      "runtime" : {
         "requires" : {
            "Digest::SHA" : "6.01",
            "IO::Socket::SSL" : "2.066",
            "Mojolicious" : "8.23"
         }
      }
   },
   "release_status" : "stable",

 view all matches for this distribution


Mojolicious-Plugin-AssetPack-Backcompat

 view release on metacpan or  search on metacpan

.travis.yml  view on Meta::CPAN

    packages:
      - libpng12-dev
env:
  - 'HARNESS_OPTIONS=j1 TEST_ONLINE=1'
install:
  - 'cpanm -n Test::Pod Test::Pod::Coverage IO::Socket::SSL'
  - 'cpanm -n CSS::Minifier::XS Imager::File::PNG JavaScript::Minifier::XS'
  - 'cpanm -n --installdeps .'
notifications:
  email: false

 view all matches for this distribution


Mojolicious-Plugin-AssetPack

 view release on metacpan or  search on metacpan

lib/Mojolicious/Plugin/AssetPack/Guides/Developing.pod  view on Meta::CPAN


=item * L<CSS::Sass>

Used by L<Mojolicious::Plugin::AssetPack::Pipe::Sass>.

=item * L<IO::Socket::SSL>

Required if you want to download assets served over SSL.

=item * L<JavaScript::Minifier::XS>

 view all matches for this distribution


Mojolicious-Plugin-BasicAuthPlus

 view release on metacpan or  search on metacpan

lib/Mojolicious/Plugin/BasicAuthPlus.pm  view on Meta::CPAN

    my $socket_type = ref $ldap->{net_ldap_socket};
    $c->app->log->warn("LDAP socket type: $socket_type") if $logging;

    unless (
        # SSL connection already established
        ($socket_type eq 'IO::Socket::SSL')

        # Or user doesn't want TLS
        || (defined($params->{start_tls}) && $params->{start_tls} == 0)
        )
    {

 view all matches for this distribution


Mojolicious-Plugin-Captcha-reCAPTCHA

 view release on metacpan or  search on metacpan

lib/Mojolicious/Plugin/Captcha/reCAPTCHA.pm  view on Meta::CPAN


Mojolicious::Plugin::Captcha::reCAPTCHA is deprecated and you should consider 
switching to L<Mojolicious::Plugin::ReCAPTCHAv2>.

The latter one uses the newer v2 API of Googles reCAPTCHA service and also has
no dependencies besides Mojolicious (and IO::Socket::SSL, which again is a
dependency of Mojolicious itself).

=head1 METHODS/HELPERS

=head2 recaptcha

 view all matches for this distribution


Mojolicious-Plugin-LazyImage

 view release on metacpan or  search on metacpan

.travis.yml  view on Meta::CPAN

  - "5.12"
  - "5.10"
env:
  - "HARNESS_OPTIONS=j9"
install:
  - "cpanm -n Test::Pod Test::Pod::Coverage IO::Socket::SSL"
  - "cpanm -n --installdeps ."
notifications:
  email: false

 view all matches for this distribution


Mojolicious-Plugin-MozPersona

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "IO::Socket::SSL" : "1.75",
            "Mojolicious" : "4.82",
            "Mozilla::CA" : "20141217"
         }
      }
   },

 view all matches for this distribution


Mojolicious

 view release on metacpan or  search on metacpan

lib/Mojo/IOLoop.pm  view on Meta::CPAN

The event loop will be resilient to time jumps if a monotonic clock is available through L<Time::HiRes>. A TLS
certificate and key are also built right in, to make writing test servers as easy as possible. Also note that for
convenience the C<PIPE> signal will be set to C<IGNORE> when L<Mojo::IOLoop> is loaded.

For better scalability (epoll, kqueue) and to provide non-blocking name resolution, SOCKS5 as well as TLS support, the
optional modules L<EV> (4.32+), L<Net::DNS::Native> (0.15+), L<IO::Socket::Socks> (0.64+) and L<IO::Socket::SSL>
(2.009+) will be used automatically if possible. Individual features can also be disabled with the C<MOJO_NO_NNR>,
C<MOJO_NO_SOCKS> and C<MOJO_NO_TLS> environment variables.

See L<Mojolicious::Guides::Cookbook/"REAL-TIME WEB"> for more.

 view all matches for this distribution


( run in 0.434 second using v1.01-cache-2.11-cpan-4d50c553e7e )