AnyEvent-Net-Curl-Queued
view release on metacpan or search on metacpan
- 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)
0.030 2012-10-11T22:31:11
- YADA DWIM: documented & tested (Stanislaw Pusep)
- updated test for nasty empty HTTP::Message condition (Stanislaw Pusep)
- minor edge case condition adjustments (Stanislaw Pusep)
- better Moose encapsulation (Stanislaw Pusep)
- better type constraints (Stanislaw Pusep)
- added common_opts to AE::N::C::Q and fixed CURLOPT_(SHARE|TIMEOUT)
propagation for YADA (Stanislaw Pusep)
0.029 2012-10-03T19:44:25
- test fixes (no need to rely on cpan.org) (Stanislaw Pusep)
- eg/simple.pl updated to show the new sugar syntax (Stanislaw Pusep)
- do *NOT* return HTTP::Response if scheme is not HTTP/HTTPS (Stanislaw
Pusep)
0.028 2012-09-26T19:52:31
- attempt to fix FreeBSD test errors (Stanislaw Pusep)
- YADA append()/prepend() are now chainable (updated example in SYNOPSIS)
(Stanislaw Pusep)
- experimental YADA DWIM extensions for append()/prepend() (Stanislaw
Pusep)
- added AE::N::C::Q::Easy->opts attribute to quickly setopt() stuff
(Stanislaw Pusep)
- minor compatibility fixes (Stanislaw Pusep)
- more verbose environment info (Stanislaw Pusep)
- benchmark results updated (Stanislaw Pusep)
- update process name in eg/benchmark.pl (Stanislaw Pusep)
- refactored eg/benchmark.pl (Stanislaw Pusep)
0.027 2012-09-11T04:54:09
- test cloning (Stanislaw Pusep)
- AE::N::C::Q::Easy->clone($param) fixed (Stanislaw Pusep)
- benchmark updated (Stanislaw Pusep)
- eg/queue: filtered URLs which lead to redirectors (Stanislaw Pusep)
- fix: no socket_action(CURL_SOCKET_TIMEOUT) if no handles are open
(Stanislaw Pusep)
- reimplemented eg/benchmark/mojo.pl to work the non-blocking way
(Stanislaw Pusep)
- documentation update (Stanislaw Pusep)
- implemented AnyEvent::HTTP::Tiny client to test
Test::HTTP::AnyEvent::Server (Stanislaw Pusep)
- use Any::Moose for Test::HTTP::AnyEvent::Server (Stanislaw Pusep)
- gave up, Test::HTTP::Server is more reliable for blocking tests
- test boundaries fine-tuned (Stanislaw Pusep)
- removed unmet conditions (Stanislaw Pusep)
- test watchdog & timeout (Stanislaw Pusep)
- clean up duplicate URL condition (Stanislaw Pusep)
- removed Test::HTTP::Server dependency (Stanislaw Pusep)
- implemented Test::HTTP::AnyEvent::Server, as fork() breaks Net::Curl :(
(Stanislaw Pusep)
- use AE::postpone instead of "instant timer" hack (Stanislaw Pusep)
0.026 2012-09-05T21:24:33
- updated t/42-loopback-retry.t to use internal POST retry mechanism
(Stanislaw Pusep)
- attempt double GET at t/30-queued-single.t (to verify queue
deduplication) (Stanislaw Pusep)
- stripped dead code from AE::N::C::Q::Stats (Stanislaw Pusep)
- fixed AE::N::C::Const cache typo (Stanislaw Pusep)
- split queue accessors POD (Stanislaw Pusep)
- correctly reenqueue POST requests (Stanislaw Pusep)
- Mojo::UserAgent benchmark (Stanislaw Pusep)
0.025 2012-07-27T18:08:19
- raise CURLMOPT_MAXCONNECTS (Stanislaw Pusep)
- example fixes (Stanislaw Pusep)
- eg/CrawlApache.pm using Web::Scraper (Stanislaw Pusep)
0.021 2012-05-21T17:18:08
- removed common::sense (Stanislaw Pusep)
- using ChangelogFromGit::CPAN::Changes for changelog (Stanislaw Pusep)
- Changes (Stanislaw Pusep)
0.020 2012-05-12T21:18:51
- documentation updated with alternatives; prereq common::sense 3.5
(Stanislaw Pusep)
- Changelog (Stanislaw Pusep)
0.019 2012-04-05T20:26:29
- version bump (Stanislaw Pusep)
- fix for perl-5.15.9 (Stanislaw Pusep)
- Changelog (Stanislaw Pusep)
0.018 2012-03-31T19:04:45
- minor fixes (Stanislaw Pusep)
lib/AnyEvent/Net/Curl/Queued/Multi.pm view on Meta::CPAN
$self->setopt(Net::Curl::Multi::CURLMOPT_SOCKETFUNCTION => \&_cb_socket);
$self->setopt(Net::Curl::Multi::CURLMOPT_TIMERFUNCTION => \&_cb_timer);
return;
}
## no critic (RequireArgUnpacking)
sub BUILDARGS { return $_[-1] }
# socket callback: will be called by curl any time events on some
# socket must be updated
sub _cb_socket {
my ($self, undef, $socket, $poll) = @_;
# Right now $socket belongs to that $easy, but it can be
# shared with another easy handle if server supports persistent
# connections.
# This is why we register socket events inside multi object
# and not $easy.
# AnyEvent does not support registering a socket for both
( run in 0.541 second using v1.01-cache-2.11-cpan-0a6323c29d9 )