diff options
author | abs <abs> | 2008-06-23 03:35:35 +0000 |
---|---|---|
committer | abs <abs> | 2008-06-23 03:35:35 +0000 |
commit | 9852edb7d94a55f921e0ab31746455e9e998692f (patch) | |
tree | 48b168a90f5c5a0540b85ad7ff92b70c3d34d04c /www | |
parent | bbcd23e5ab9bb1c627db4969ce699818c2c329d8 (diff) | |
download | pkgsrc-9852edb7d94a55f921e0ab31746455e9e998692f.tar.gz |
import p5-HTTP-Async-0.09
Although using the conventional LWP::UserAgent is fast and easy it
does have some drawbacks - the code execution blocks until the
request has been completed and it is only possible to process one
request at a time. HTTP::Async attempts to address these limitations.
It gives you a 'Async' object that you can add requests to, and
then get the requests off as they finish. The actual sending and
receiving of the requests is abstracted. As soon as you add a
request it is transmitted, if there are too many requests in progress
at the moment they are queued. There is no concept of starting or
stopping - it runs continuously.
Whilst it is waiting to receive data it returns control to the code
that called it meaning that you can carry out processing whilst
fetching data from the network. All without forking or threading
- it is actually done using select lists.
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-HTTP-Async/DESCR | 16 | ||||
-rw-r--r-- | www/p5-HTTP-Async/Makefile | 18 | ||||
-rw-r--r-- | www/p5-HTTP-Async/distinfo | 5 |
3 files changed, 39 insertions, 0 deletions
diff --git a/www/p5-HTTP-Async/DESCR b/www/p5-HTTP-Async/DESCR new file mode 100644 index 00000000000..09802d23f0b --- /dev/null +++ b/www/p5-HTTP-Async/DESCR @@ -0,0 +1,16 @@ +Although using the conventional LWP::UserAgent is fast and easy it +does have some drawbacks - the code execution blocks until the +request has been completed and it is only possible to process one +request at a time. HTTP::Async attempts to address these limitations. + +It gives you a 'Async' object that you can add requests to, and +then get the requests off as they finish. The actual sending and +receiving of the requests is abstracted. As soon as you add a +request it is transmitted, if there are too many requests in progress +at the moment they are queued. There is no concept of starting or +stopping - it runs continuously. + +Whilst it is waiting to receive data it returns control to the code +that called it meaning that you can carry out processing whilst +fetching data from the network. All without forking or threading +- it is actually done using select lists. diff --git a/www/p5-HTTP-Async/Makefile b/www/p5-HTTP-Async/Makefile new file mode 100644 index 00000000000..0a64f1472bb --- /dev/null +++ b/www/p5-HTTP-Async/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/06/23 03:35:35 abs Exp $ + +DISTNAME= HTTP-Async-0.09 +PKGNAME= p5-${DISTNAME} +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/HTTP-Async/ +COMMENT= Lightweight HTTP client implementation + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/HTTP/Async/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/p5-HTTP-Async/distinfo b/www/p5-HTTP-Async/distinfo new file mode 100644 index 00000000000..0923dc728fc --- /dev/null +++ b/www/p5-HTTP-Async/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/06/23 03:35:35 abs Exp $ + +SHA1 (HTTP-Async-0.09.tar.gz) = 4bdf206c1685f0ce372e0d50ae3241e09871ef0a +RMD160 (HTTP-Async-0.09.tar.gz) = e810baa9ce209bceac856e8edb42f3fe930f38cd +Size (HTTP-Async-0.09.tar.gz) = 16902 bytes |