./www/p5-HTTP-Async, Lightweight HTTP client implementation

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.31, Package name: p5-HTTP-Async-0.31, Maintainer: pkgsrc-users

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.


Required to run:
[lang/perl5]

Required to build:
[www/p5-Test-HTTP-Server-Simple]

Master sites: (Expand)

SHA1: a9722a8eb2c136536fc79178c63d8d55eb54c19a
RMD160: 9c38057386e7e7d8d441e903c3bb216ab06c73dd
Filesize: 23.94 KB

Version history: (Expand)


CVS history: (Expand)


   2016-08-26 10:02:37 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.31

Upstream changes:
0.31 2016/08/17
  * Add minimum Perl version to Makefile.PL
  * Match HTTP::Async::Polite version to HTTP::Async (CPANTS)
    Thanks to Mohammad S Anwar (Manwar) for both changes!
  * Replace yahoo.com with metacpan.org in t/real_servers.t
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-10-30 13:35:36 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.30

Upstream changes:
0.30 2015/05/30
  * Allow max_redirect or max_redirects, to be consistent with LWP::UserAgent
    Thanks Vincent Lequertier (SkySymbol)!

0.29 2015/05/30

  * Make add_with_opts throw error on invalid options
    Thanks Tom Grimwood-Taylor (tgt)!

0.28 2015/03/09

  * Allow manual override of PeerAddr via peer_addr (rt #102634)
  * Switch from print() to note() in TestServer for test suite
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2015-01-12 08:19:50 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Update 0.23 to 0.27
-------------------
0.27 2014/11/17

  * Github user acferen finally patched the long-standing timeout bug
    Thanks acferen!

0.26 2014/06/06

  * Daniel Lintott of the Debian Perl Group reported that the HTTP::Async proxy
    tests were broken with a development version of HTTP-Server-Simple (0.45_1)
    I fixed the test, or rather fixed t/TestServer.pm, so that it would work
    Thanks Daniel!
  * While I was in there, I replaced some warn() calls in the tests with diag()
    calls, to be a better TAP citizen

0.25 2014/03/20

  * Added remove($id) and remove_all() methods
    Thanks go to rt.cpan.org user Ikegami
  * Added support for forwarding headers on redirect
    Thanks to Github users kloevschall and kaol
  * Added support for having an HTTP::Cookies cookie jar object
    Thanks again to Github user kaol
  * Use Net::EmptyPort for the TestServer in the tests
    Thanks to Github user and all around great Perl Monger DrHyde

0.24 2014/03/19

  * Better POD docs for the counting methods
  - Requested by Dave Hodgkinson via rt.cpan.org
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
   2014-02-23 14:15:11 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.23
Add LICENSE
Add missing BUILD_DEPENDS for regress test

Upstream changes:
0.23 2013/11/03

  * Added REAL_SERVERS check to t/proxy-with-https.t
  - Thanks to Gregor Herrmann, Debian Perl Group, for the patch

0.22 2013/09/12

  * Added repository cpan metadata to Makefile.PL
  - Thanks to David Steinbrunner for the patch

0.21 2013/08/29

  * Updated Changes file to meet CPAN::Changes::Spec
    * FIxed unparseable date for version 0.02

0.20 2013/07/18

  * Updates Changes file to meet CPAN::Changes::Spec
    * Changed and standardized date formats
    * Changed name from CHANGES to Changes
    * Added author/release test to check this going forward

0.19 2013/07/17

  * Added ssl_options support
  * Increased Net::HTTPS::NB requirement to 0.13
  - Thanks to Heikki Vatiainen for the patch

0.18 2013/05/27

  * Fixed typo in POD
  - Added THANKS for Florian (fschlich)

0.17 2013/04/20

  * Added local_addr and local_port support
  * Standardised test names
  * Added THANKS for github user c00ler-

0.16 2013/04/04

  * Fixed CPAN Testers bug in bad-hosts.t

0.15 2013/04/04

  * Two bug fixes provided by Josef Toman:
    * Fixed header handling to use header_field_names()
    * Replaced _make_url_absolute with URI::new_abs()

0.14 2013/04/01

  * More diagnostics in bad-hosts.t on failure

0.13 2013/03/29

  * Fixed t/real-servers.t to work whether or not Net::HTTPS::NB is available

0.12 2013/03/29

  * New logic for making https requests through a proxy
  * Made tests run ok in parallel by using different ports per test
  * Set explicit SSL_verify_mode in real-servers.t
  * Minor update to code comment about is_proxy mode

0.11 2012/11/13

  * Use high ports to prevent test failure when 8080 is already used
  * Travis config

0.10 2012/03/08

  * added support for https requests - thanks Naveed Massjouni
   2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880)
Log message:
Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.