www/p5-HTTP-Async 0.33 FreeBSD
Process multiple HTTP requests in parallel without blocking
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- www, perl5
- Package size
- 21.1 KiB, 47.9 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-HTTP-Async | 0.33 |
| OpenBSD | www/p5-HTTP-Async | 0.33p0 |
| NetBSD | www/p5-HTTP-Async | 0.33nb10 |
| DragonFly | www/p5-HTTP-Async | 0.33 |
Install
Binary package:
pkg install p5-HTTP-Async
From the ports tree:
cd /usr/ports/www/p5-HTTP-Async/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-HTTP-Async>0:www/p5-HTTP-Async
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.33 | 0.33 | 0.33 | 0.33 | 0.33 |
| FreeBSD:14:quarterly | 0.33 | 0.33 | n/a | 0.33 | 0.33 |
| FreeBSD:15:latest | 0.33 | 0.33 | n/a | 0.33 | 0.33 |
| FreeBSD:15:quarterly | 0.33 | 0.33 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.33 | 0.33 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 4
p5-HTTP-Server-Simple>=0: www/p5-HTTP-Server-Simplep5-Net-HTTPS-NB>=0.13: net/p5-Net-HTTPS-NBp5-URI>=0: net/p5-URIp5-libwww>=0: www/p5-libwww
Runtime 4
p5-HTTP-Server-Simple>=0: www/p5-HTTP-Server-Simplep5-Net-HTTPS-NB>=0.13: net/p5-Net-HTTPS-NBp5-URI>=0: net/p5-URIp5-libwww>=0: www/p5-libwww
Test 4
p5-CGI>=0: www/p5-CGIp5-Test-Fatal>=0: devel/p5-Test-Fatalp5-Test-HTTP-Server-Simple>=0: www/p5-Test-HTTP-Server-Simplep5-Test-TCP>=0: devel/p5-Test-TCP
The full lists below include those, and their dependencies in turn.
Build dependencies 28
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/p5-Try-Tiny
- lang/perl5.42
- net/p5-Net-HTTP
- net/p5-Net-HTTPS-NB
- net/p5-URI
- security/p5-Authen-NTLM
- security/p5-Digest-HMAC
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Listing
- www/p5-CGI
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Cookies
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-HTTP-Negotiate
- www/p5-HTTP-Server-Simple
- www/p5-LWP-MediaTypes
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
Run dependencies 28
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/p5-Try-Tiny
- lang/perl5.42
- net/p5-Net-HTTP
- net/p5-Net-HTTPS-NB
- net/p5-URI
- security/p5-Authen-NTLM
- security/p5-Digest-HMAC
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Listing
- www/p5-CGI
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Cookies
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-HTTP-Negotiate
- www/p5-HTTP-Server-Simple
- www/p5-LWP-MediaTypes
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- %%SITE_PERL%%/HTTP/Async.pm
- %%SITE_PERL%%/HTTP/Async/Polite.pm
- %%PERL5_MAN3%%/HTTP::Async.3.gz
- %%PERL5_MAN3%%/HTTP::Async::Polite.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| HTTP-Async-0.33.tar.gz | 24441 | 5edba1562645facc36dde6ab02013b9d0a9593232430ec98165cd72a4d1196d4 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.