POE-Component-Curl-Multi
view release on metacpan or search on metacpan
t/04_timeout.t view on Meta::CPAN
use Socket;
POE::Component::Curl::Multi->spawn(
Alias => 'ua',
Timeout => 2,
);
# We are testing against a localhost server.
# Don't proxy, because localhost takes on new meaning.
BEGIN {
delete $ENV{HTTP_PROXY};
delete $ENV{http_proxy};
}
POE::Session->create(
inline_states => {
_start => sub {
my ($kernel) = $_[KERNEL];
$kernel->alias_set('Main');
t/05_cancel.t view on Meta::CPAN
use Socket;
POE::Component::Curl::Multi->spawn(
Alias => 'ua',
Timeout => 60,
);
# We are testing against a localhost server.
# Don't proxy, because localhost takes on new meaning.
BEGIN {
delete $ENV{HTTP_PROXY};
delete $ENV{http_proxy};
}
POE::Session->create(
inline_states => {
_start => sub {
my ($kernel) = $_[KERNEL];
$kernel->alias_set('Main');
t/05_shutdown.t view on Meta::CPAN
use Socket;
POE::Component::Curl::Multi->spawn(
Alias => 'ua',
Timeout => 60,
);
# We are testing against a localhost server.
# Don't proxy, because localhost takes on new meaning.
BEGIN {
delete $ENV{HTTP_PROXY};
delete $ENV{http_proxy};
}
POE::Session->create(
inline_states => {
_start => sub {
my ($kernel) = $_[KERNEL];
$kernel->alias_set('Main');
t/08_agent.t view on Meta::CPAN
POE::Component::Curl::Multi->spawn(
Alias => 'ua',
Timeout => 2,
Agent => 'OleBiscuitBarrel/1.0',
);
# We are testing against a localhost server.
# Don't proxy, because localhost takes on new meaning.
BEGIN {
delete $ENV{HTTP_PROXY};
delete $ENV{http_proxy};
}
POE::Session->create(
inline_states => {
_start => sub {
my ($kernel) = $_[KERNEL];
$kernel->alias_set('Main');
t/11_pending.t view on Meta::CPAN
my $curl = POE::Component::Curl::Multi->spawn(
Alias => 'ua',
Timeout => 2,
Agent => 'OleBiscuitBarrel/1.0',
);
# We are testing against a localhost server.
# Don't proxy, because localhost takes on new meaning.
BEGIN {
delete $ENV{HTTP_PROXY};
delete $ENV{http_proxy};
}
POE::Session->create(
inline_states => {
_start => sub {
my ($kernel) = $_[KERNEL];
$kernel->alias_set('Main');
t/12_proxy.t view on Meta::CPAN
POE::Component::Curl::Multi->spawn(
Alias => 'ua',
Timeout => 2,
Agent => 'OleBiscuitBarrel/1.0',
);
# We are testing against a localhost server.
# Don't proxy, because localhost takes on new meaning.
BEGIN {
delete $ENV{HTTP_PROXY};
delete $ENV{http_proxy};
}
POE::Session->create(
inline_states => {
_start => sub {
my ($kernel) = $_[KERNEL];
$kernel->alias_set('Main');
t/13_postcont.t view on Meta::CPAN
POE::Component::Curl::Multi->spawn(
Alias => 'ua',
Timeout => 2,
Agent => 'OleBiscuitBarrel/1.0',
);
# We are testing against a localhost server.
# Don't proxy, because localhost takes on new meaning.
BEGIN {
delete $ENV{HTTP_PROXY};
delete $ENV{http_proxy};
}
POE::Session->create(
inline_states => {
_start => sub {
my ($kernel) = $_[KERNEL];
$kernel->alias_set('Main');
t/14_postexpect.t view on Meta::CPAN
POE::Component::Curl::Multi->spawn(
Alias => 'ua',
Timeout => 2,
Agent => 'OleBiscuitBarrel/1.0',
);
# We are testing against a localhost server.
# Don't proxy, because localhost takes on new meaning.
BEGIN {
delete $ENV{HTTP_PROXY};
delete $ENV{http_proxy};
}
POE::Session->create(
inline_states => {
_start => sub {
my ($kernel) = $_[KERNEL];
$kernel->alias_set('Main');
( run in 2.429 seconds using v1.01-cache-2.11-cpan-71847e10f99 )