r76888 - in /trunk/libpoe-component-client-keepalive-perl: CHANGES META.yml Makefile.PL README README.mkdn debian/changelog dist.ini lib/POE/Component/Client/Keepalive.pm lib/POE/Component/Connection/Keepalive.pm
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Fri Jul 1 20:21:29 UTC 2011
Author: gregoa
Date: Fri Jul 1 20:21:27 2011
New Revision: 76888
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76888
Log:
New upstream release
Modified:
trunk/libpoe-component-client-keepalive-perl/CHANGES
trunk/libpoe-component-client-keepalive-perl/META.yml
trunk/libpoe-component-client-keepalive-perl/Makefile.PL
trunk/libpoe-component-client-keepalive-perl/README
trunk/libpoe-component-client-keepalive-perl/README.mkdn
trunk/libpoe-component-client-keepalive-perl/debian/changelog
trunk/libpoe-component-client-keepalive-perl/dist.ini
trunk/libpoe-component-client-keepalive-perl/lib/POE/Component/Client/Keepalive.pm
trunk/libpoe-component-client-keepalive-perl/lib/POE/Component/Connection/Keepalive.pm
Modified: trunk/libpoe-component-client-keepalive-perl/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/CHANGES?rev=76888&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/CHANGES (original)
+++ trunk/libpoe-component-client-keepalive-perl/CHANGES Fri Jul 1 20:21:27 2011
@@ -1,3 +1,28 @@
+================================
+2011-05-03 22:41:56 -0400 v0_267
+================================
+
+ commit c846f073d727aca73c2a1048a88568278b5cca1b
+ Author: Rocco Caputo <rcaputo at cpan.org>
+ Date: Tue May 3 22:41:56 2011 -0400
+
+ Prepare for next release.
+
+ commit 381bcea14b4e8ef3dadb9d9a40dc0aee6da1921d
+ Author: Rocco Caputo <rcaputo at cpan.org>
+ Date: Tue May 3 22:41:16 2011 -0400
+
+ Explicitly shutdown the resolver when this component is shut down.
+
+ commit 2cc5cebfc14c4c404549442eb5f2591cc9323db1
+ Author: Rocco Caputo <rcaputo at cpan.org>
+ Date: Thu Apr 21 11:29:05 2011 -0400
+
+ Use only a single POE::Component::Resolver by default. Prevents a lot
+ of POE::Component::Client::HTTP useragents from consuming all file
+ descriptors. Reported by Karen_m and BinGOs on Freenode #perl, and
+ fixed with the help of Karen's test case.
+
================================
2011-02-20 22:59:20 -0500 v0_266
================================
Modified: trunk/libpoe-component-client-keepalive-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/META.yml?rev=76888&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/META.yml (original)
+++ trunk/libpoe-component-client-keepalive-perl/META.yml Fri Jul 1 20:21:27 2011
@@ -6,7 +6,7 @@
configure_requires:
ExtUtils::MakeMaker: 6.31
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400'
+generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.102400'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -14,8 +14,8 @@
name: POE-Component-Client-Keepalive
requires:
Net::IP: 1.25
- POE: 1.299
- POE::Component::Resolver: 0.911
+ POE: 1.311
+ POE::Component::Resolver: 0.912
resources:
repository: git://github.com/rcaputo/poe-component-client-keepalive.git
-version: 0.266
+version: 0.267
Modified: trunk/libpoe-component-client-keepalive-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/Makefile.PL?rev=76888&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/Makefile.PL (original)
+++ trunk/libpoe-component-client-keepalive-perl/Makefile.PL Fri Jul 1 20:21:27 2011
@@ -21,10 +21,10 @@
'NAME' => 'POE::Component::Client::Keepalive',
'PREREQ_PM' => {
'Net::IP' => '1.25',
- 'POE' => '1.299',
- 'POE::Component::Resolver' => '0.911'
+ 'POE' => '1.311',
+ 'POE::Component::Resolver' => '0.912'
},
- 'VERSION' => '0.266',
+ 'VERSION' => '0.267',
'test' => {
'TESTS' => 't/*.t'
}
Modified: trunk/libpoe-component-client-keepalive-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/README?rev=76888&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/README (original)
+++ trunk/libpoe-component-client-keepalive-perl/README Fri Jul 1 20:21:27 2011
@@ -2,7 +2,7 @@
POE::Component::Client::Keepalive - manage connections, with keep-alive
VERSION
- version 0.266
+ version 0.267
SYNOPSIS
use warnings;
Modified: trunk/libpoe-component-client-keepalive-perl/README.mkdn
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/README.mkdn?rev=76888&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/README.mkdn (original)
+++ trunk/libpoe-component-client-keepalive-perl/README.mkdn Fri Jul 1 20:21:27 2011
@@ -4,7 +4,7 @@
# VERSION
-version 0.266
+version 0.267
# SYNOPSIS
Modified: trunk/libpoe-component-client-keepalive-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/debian/changelog?rev=76888&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/debian/changelog (original)
+++ trunk/libpoe-component-client-keepalive-perl/debian/changelog Fri Jul 1 20:21:27 2011
@@ -1,3 +1,9 @@
+libpoe-component-client-keepalive-perl (0.2670-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- gregor herrmann <gregoa at debian.org> Fri, 01 Jul 2011 22:18:27 +0200
+
libpoe-component-client-keepalive-perl (0.2660-1) unstable; urgency=low
* New upstream release
Modified: trunk/libpoe-component-client-keepalive-perl/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/dist.ini?rev=76888&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/dist.ini (original)
+++ trunk/libpoe-component-client-keepalive-perl/dist.ini Fri Jul 1 20:21:27 2011
@@ -1,13 +1,13 @@
name = POE-Component-Client-Keepalive
-version = 0.266
+version = 0.267
author = Rocco Caputo <rcaputo at cpan.org>
license = Perl_5
copyright_holder = Rocco Caputo
[Prereqs]
Net::IP = 1.25
-POE = 1.299
-POE::Component::Resolver = 0.911
+POE = 1.311
+POE::Component::Resolver = 0.912
[Repository]
git_remote = gh
Modified: trunk/libpoe-component-client-keepalive-perl/lib/POE/Component/Client/Keepalive.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/lib/POE/Component/Client/Keepalive.pm?rev=76888&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/lib/POE/Component/Client/Keepalive.pm (original)
+++ trunk/libpoe-component-client-keepalive-perl/lib/POE/Component/Client/Keepalive.pm Fri Jul 1 20:21:27 2011
@@ -1,6 +1,6 @@
package POE::Component::Client::Keepalive;
BEGIN {
- $POE::Component::Client::Keepalive::VERSION = '0.266';
+ $POE::Component::Client::Keepalive::VERSION = '0.267';
}
use warnings;
@@ -42,6 +42,8 @@
my $id = shift;
delete $active_req_ids{$id};
}
+
+my $default_resolver;
# The connection manager uses a number of data structures, most of
# them arrays. These constants define offsets into those arrays, and
@@ -147,8 +149,9 @@
$bind_address, # SF_BIND_ADDR
], $class;
- $resolver ||= POE::Component::Resolver->new();
- $self->[SF_RESOLVER] = $resolver;
+ $self->[SF_RESOLVER] = (
+ $resolver || ($default_resolver ||= POE::Component::Resolver->new())
+ );
POE::Session->create(
object_states => [
@@ -366,8 +369,8 @@
}
my $conn_key = (
- "$scheme $address $port for $for_scheme $for_address $for_port"
- );
+ "$scheme $address $port for $for_scheme $for_address $for_port"
+ );
# If we have a connection pool for the scheme/address/port triple,
# then we can maybe post an available connection right away.
@@ -832,6 +835,7 @@
# Shut down the resolver.
DEBUG and warn "SHT: Shutting down resolver";
+ $self->[SF_RESOLVER]->shutdown();
$self->[SF_RESOLVER] = undef;
# Finish keepalive's shutdown.
@@ -1118,7 +1122,7 @@
=head1 VERSION
-version 0.266
+version 0.267
=head1 SYNOPSIS
Modified: trunk/libpoe-component-client-keepalive-perl/lib/POE/Component/Connection/Keepalive.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/lib/POE/Component/Connection/Keepalive.pm?rev=76888&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/lib/POE/Component/Connection/Keepalive.pm (original)
+++ trunk/libpoe-component-client-keepalive-perl/lib/POE/Component/Connection/Keepalive.pm Fri Jul 1 20:21:27 2011
@@ -4,7 +4,7 @@
package POE::Component::Connection::Keepalive;
BEGIN {
- $POE::Component::Connection::Keepalive::VERSION = '0.266';
+ $POE::Component::Connection::Keepalive::VERSION = '0.267';
}
use warnings;
@@ -102,7 +102,7 @@
=head1 VERSION
-version 0.266
+version 0.267
POE::Component::Connection::Keepalive - a wheel wrapper around a
kept-alive socket
More information about the Pkg-perl-cvs-commits
mailing list