r27886 - in /trunk/libpoe-component-client-keepalive-perl: CHANGES Client-Keepalive.pm META.yml debian/changelog
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Mon Dec 8 00:15:45 UTC 2008
Author: gregoa
Date: Mon Dec 8 00:15:42 2008
New Revision: 27886
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27886
Log:
New upstream release.
Modified:
trunk/libpoe-component-client-keepalive-perl/CHANGES
trunk/libpoe-component-client-keepalive-perl/Client-Keepalive.pm
trunk/libpoe-component-client-keepalive-perl/META.yml
trunk/libpoe-component-client-keepalive-perl/debian/changelog
Modified: trunk/libpoe-component-client-keepalive-perl/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/CHANGES?rev=27886&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/CHANGES (original)
+++ trunk/libpoe-component-client-keepalive-perl/CHANGES Mon Dec 8 00:15:42 2008
@@ -1,3 +1,17 @@
+=================================
+2008-12-07T03:53:59.984618Z v0_24
+=================================
+
+ 2008-12-07 03:52:29 (r99) by rcaputo; Client-Keepalive.pm M
+
+ Back out the setsockopt() call because it was causing runtime errors.
+ If we must try to avoid FIN_WAIT_2, we must do it better next time.
+
+ 2008-11-30 19:04:51 (r98) by rcaputo; Client-Keepalive.pm M
+
+ Applied Ivan Mitoyarov's patch to completely clean up requests that
+ have been enqueued for a full pool.
+
=================================
2008-11-24T22:37:36.391530Z v0_23
=================================
Modified: trunk/libpoe-component-client-keepalive-perl/Client-Keepalive.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-client-keepalive-perl/Client-Keepalive.pm?rev=27886&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/Client-Keepalive.pm (original)
+++ trunk/libpoe-component-client-keepalive-perl/Client-Keepalive.pm Mon Dec 8 00:15:42 2008
@@ -1,4 +1,4 @@
-# $Id: Client-Keepalive.pm 96 2008-11-24 22:36:21Z rcaputo $
+# $Id: Client-Keepalive.pm 99 2008-12-07 03:52:29Z rcaputo $
package POE::Component::Client::Keepalive;
@@ -6,7 +6,7 @@
use strict;
use vars qw($VERSION);
-$VERSION = "0.23";
+$VERSION = "0.24";
use Carp qw(croak);
use Errno qw(ETIMEDOUT);
@@ -252,6 +252,9 @@
}
);
+ # Remove the wheel-to-request index.
+ delete $self->[SF_REQ_INDEX]{$request->[RQ_ID]};
+
next;
}
@@ -1007,11 +1010,17 @@
$poe_kernel->select_read($socket, undef);
# Avoid common FIN_WAIT_2 issues.
- if (fileno $socket) {
- setsockopt($socket, SOL_SOCKET, SO_LINGER, pack("sll",1,0,0)) or die(
- "setsockopt: $!"
- );
- }
+ # Commented out because fileno() will return true for closed
+ # sockets, which makes setsockopt() highly unhappy. Also, SO_LINGER
+ # will cause te socket closure to block, which is less than ideal.
+ # We need to revisit this another way, or just let sockets enter
+ # FIN_WAIT_2.
+
+# if (fileno $socket) {
+# setsockopt($socket, SOL_SOCKET, SO_LINGER, pack("sll",1,0,0)) or die(
+# "setsockopt: $!"
+# );
+# }
}
# Internal function. NOT AN EVENT HANDLER.
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=27886&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/META.yml (original)
+++ trunk/libpoe-component-client-keepalive-perl/META.yml Mon Dec 8 00:15:42 2008
@@ -1,18 +1,21 @@
--- #YAML:1.0
-name: POE-Component-Client-Keepalive
-version: 0.23
-abstract: Manages and keeps alive client connections
-license: perl
-author:
+name: POE-Component-Client-Keepalive
+version: 0.24
+abstract: Manages and keeps alive client connections
+author:
- Rocco Caputo <rcaputo at cpan.org>
-generated_by: ExtUtils::MakeMaker version 6.44
-distribution_type: module
-requires:
- POE: 0.31
- POE::Component::Client::DNS: 1.01
+license: perl
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+requires:
+ POE: 0.31
+ POE::Component::Client::DNS: 1.01
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.48
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
-no_index:
- dir:
- - mylib
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
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=27886&op=diff
==============================================================================
--- trunk/libpoe-component-client-keepalive-perl/debian/changelog (original)
+++ trunk/libpoe-component-client-keepalive-perl/debian/changelog Mon Dec 8 00:15:42 2008
@@ -1,3 +1,9 @@
+libpoe-component-client-keepalive-perl (0.2400-1) UNRELEASED; urgency=low
+
+ * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org> Mon, 08 Dec 2008 01:14:58 +0100
+
libpoe-component-client-keepalive-perl (0.2300-1) unstable; urgency=low
[ MartÃn Ferrari ]
More information about the Pkg-perl-cvs-commits
mailing list