From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 18 09:20:04 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBBB816A407 for ; Sun, 18 Mar 2007 09:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id D0A1413C457 for ; Sun, 18 Mar 2007 09:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2I9K3LV021548 for ; Sun, 18 Mar 2007 09:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2I9K36R021542; Sun, 18 Mar 2007 09:20:03 GMT (envelope-from gnats) Resent-Date: Sun, 18 Mar 2007 09:20:03 GMT Resent-Message-Id: <200703180920.l2I9K36R021542@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, chinsan Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55C9A16A400 for ; Sun, 18 Mar 2007 09:19:14 +0000 (UTC) (envelope-from chinsan@chinsan.twbbs.org) Received: from chinsan.twbbs.org (220-132-119-51.HINET-IP.hinet.net [220.132.119.51]) by mx1.freebsd.org (Postfix) with ESMTP id 9844913C43E for ; Sun, 18 Mar 2007 09:19:13 +0000 (UTC) (envelope-from chinsan@chinsan.twbbs.org) Received: by chinsan.twbbs.org (Postfix, from userid 1001) id 26ABB11464; Sun, 18 Mar 2007 17:19:09 +0800 (CST) Message-Id: <20070318091909.26ABB11464@chinsan.twbbs.org> Date: Sun, 18 Mar 2007 17:19:09 +0800 (CST) From: chinsan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/110469: [NEW PORT] devel/p5-HTTP-Async: Process multiple HTTP requests in parallel without blocking X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2007 09:20:04 -0000 >Number: 110469 >Category: ports >Synopsis: [NEW PORT] devel/p5-HTTP-Async: Process multiple HTTP requests in parallel without blocking >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 18 09:20:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: chinsan >Release: FreeBSD 6.2-STABLE i386 >Organization: Taiwan >Environment: System: FreeBSD chinsan.twbbs.org 6.2-STABLE FreeBSD 6.2-STABLE #6: Mon Feb 5 23:22:25 CST >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. WWW: http://search.cpan.org/dist/HTTP-Async/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-HTTP-Async-0.07.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-HTTP-Async # p5-HTTP-Async/Makefile # p5-HTTP-Async/distinfo # p5-HTTP-Async/pkg-descr # p5-HTTP-Async/pkg-plist # echo c - p5-HTTP-Async mkdir -p p5-HTTP-Async > /dev/null 2>&1 echo x - p5-HTTP-Async/Makefile sed 's/^X//' >p5-HTTP-Async/Makefile << 'END-of-p5-HTTP-Async/Makefile' X# New ports collection makefile for: p5-HTTP-Async X# Date created: 2007/02/14 X# Whom: chinsan X# X# $FreeBSD$ X# X XPORTNAME= HTTP-Async XPORTVERSION= 0.07 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= ../../authors/id/E/EV/EVDB XPKGNAMEPREFIX= p5- X XMAINTAINER= chinsan@FreeBSD.org XCOMMENT= Process multiple HTTP requests in parallel without blocking X XBUILD_DEPENDS= p5-Module-Build>=0:${PORTSDIR}/devel/p5-Module-Build \ X p5-URI>=0:${PORTSDIR}/net/p5-URI \ X p5-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-HTTP-Server-Simple \ X p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ X p5-Test-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-Test-HTTP-Server-Simple XRUN_DEPENDS= ${BUILD_DEPENDS} X XMAN3= HTTP::Async.3 HTTP::Async::Polite.3 X XPERL_CONFIGURE= yes X X.include END-of-p5-HTTP-Async/Makefile echo x - p5-HTTP-Async/distinfo sed 's/^X//' >p5-HTTP-Async/distinfo << 'END-of-p5-HTTP-Async/distinfo' XMD5 (HTTP-Async-0.07.tar.gz) = d18d2c705ea8a2b1e3d40cb65ee73fbd XSHA256 (HTTP-Async-0.07.tar.gz) = 8bbafdd974f17e812f69fa02f1cf598c5728c62e6cd4d23ec098f8705053c277 XSIZE (HTTP-Async-0.07.tar.gz) = 16855 END-of-p5-HTTP-Async/distinfo echo x - p5-HTTP-Async/pkg-descr sed 's/^X//' >p5-HTTP-Async/pkg-descr << 'END-of-p5-HTTP-Async/pkg-descr' XAlthough using the conventional LWP::UserAgent is fast and easy it does have Xsome drawbacks - the code execution blocks until the request has been Xcompleted and it is only possible to process one request at a time. XHTTP::Async attempts to address these limitations. X XIt gives you a 'Async' object that you can add requests to, and then get the Xrequests off as they finish. The actual sending and receiving of the Xrequests is abstracted. As soon as you add a request it is transmitted, if Xthere are too many requests in progress at the moment they are queued. There Xis no concept of starting or stopping - it runs continuously. X XWWW: http://search.cpan.org/dist/HTTP-Async/ END-of-p5-HTTP-Async/pkg-descr echo x - p5-HTTP-Async/pkg-plist sed 's/^X//' >p5-HTTP-Async/pkg-plist << 'END-of-p5-HTTP-Async/pkg-plist' X%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Async/.packlist X%%SITE_PERL%%/HTTP/Async.pm X%%SITE_PERL%%/HTTP/Async/Polite.pm X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Async X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP X@dirrmtry %%SITE_PERL%%/HTTP/Async X@dirrmtry %%SITE_PERL%%/HTTP END-of-p5-HTTP-Async/pkg-plist exit --- p5-HTTP-Async-0.07.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: