AnyEvent-Net-Curl-Queued

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

 - weak_ref unnecessary, after all (Stanislaw Pusep)
 - removed unnecessary & broken weak_ref declarations (Stanislaw Pusep)
 - replaced time() from Time::HiRes by AE::tie (Stanislaw Pusep)
 - a bit less deterministic t/61-nest.t (Stanislaw Pusep)

0.033 2012-10-18T18:31:27
 - better compliance with libcurl docs (Stanislaw Pusep)
 - a bit cleaner Net::Curl::Share handling (Stanislaw Pusep)
 - very bad fix for Net::Curl::Share instance "weakness" (Stanislaw Pusep)
 - getting rid of "Attempt to free unreferenced scalar: SV 0xdeadbeef
   during global destruction." (Stanislaw Pusep)

0.032 2012-10-16T15:14:13
 - version bump (Stanislaw Pusep)
 - fix release: dependencies were stripped accidentally (Stanislaw Pusep)

0.031 2012-10-16T14:20:54
 - split Test::HTTP::AnyEvent::Server into a separate module (Stanislaw
   Pusep)
 - finally Test::HTTP::AnyEvent::Server can detach & run as separate
   process (Stanislaw Pusep)

Changes  view on Meta::CPAN

 - Changes (Stanislaw Pusep)

0.011 2011-11-06T19:58:44
 - watchdog executes $self->multi->perform (Stanislaw Pusep)
 - watchdog (Stanislaw Pusep)
 - Changes (Stanislaw Pusep)

0.010 2011-10-26T13:33:09
 - YADA alias (Stanislaw Pusep)
 - default timeout/retry update (Stanislaw Pusep)
 - Fixed 'Attempt to free unreferenced scalar: SV 0xdeadbeef during global
   destruction.' in t/01-net-curl-compatibility.t (Stanislaw Pusep)
 - Changes (Stanislaw Pusep)

0.009 2011-10-23T12:50:02
 - max connections editable on-fly (Stanislaw Pusep)
 - retry CodeRef fix (Stanislaw Pusep)
 - eg/ fix (Stanislaw Pusep)
 - Changes (Stanislaw Pusep)

0.008 2011-10-23T00:47:12

README  view on Meta::CPAN


 common_opts

    "opts" in AnyEvent::Net::Curl::Queued::Easy attribute common to all
    workers initialized under the same queue. You may define User-Agent
    string here.

 http_response

    Encapsulate the response with HTTP::Response (only when the scheme is
    HTTP/HTTPS); a global version of "http_response" in
    AnyEvent::Net::Curl::Queued::Easy. Default: disabled.

 completed

    Count completed requests.

 cv

    AnyEvent condition variable. Initialized automatically, unless you
    specify your own. Also reset automatically after "wait", so keep your

eg/benchmark.pl  view on Meta::CPAN

    for my $j (1 .. $repeat) {
        for (my $i = 0; $i <= $#queue; $i++) {
            push @new_queue, $queue[$i] . qq(?$j);
        }
    }
    @queue = shuffle @new_queue;
}

my $tests = {};

for my $file (glob q(Gauge/*.pm)) {
    next if $file =~ /\bRole\b/x;

    my $class = $file;
    $class =~ s{/}{::}gx;
    $class =~ s{\.pm$}{}x;

    my $name = $class;
    $name =~ s{^.+::}{}x;
    $name =~ s{_}{::}gx;

lib/AnyEvent/Net/Curl/Queued.pm  view on Meta::CPAN

To seed POST parameters, you must extend the L<AnyEvent::Net::Curl::Queued::Easy> class.
Setting C<allow_dups> to true value disables request checks.

=head2 common_opts

L<AnyEvent::Net::Curl::Queued::Easy/opts> attribute common to all workers initialized under the same queue.
You may define C<User-Agent> string here.

=head2 http_response

Encapsulate the response with L<HTTP::Response> (only when the scheme is HTTP/HTTPS); a global version of L<AnyEvent::Net::Curl::Queued::Easy/http_response>.
Default: disabled.

=head2 completed

Count completed requests.

=head2 cv

L<AnyEvent> condition variable.
Initialized automatically, unless you specify your own.



( run in 0.631 second using v1.01-cache-2.11-cpan-49f99fa48dc )