r76793 - in /branches/upstream/libpoe-component-server-simplehttp-perl/current: ./ inc/Module/ inc/Module/Install/ lib/POE/Component/Server/ lib/POE/Component/Server/SimpleHTTP/
fabreg-guest at users.alioth.debian.org
fabreg-guest at users.alioth.debian.org
Thu Jun 30 13:04:27 UTC 2011
Author: fabreg-guest
Date: Thu Jun 30 13:04:24 2011
New Revision: 76793
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76793
Log:
[svn-upgrade] new version libpoe-component-server-simplehttp-perl (2.12)
Modified:
branches/upstream/libpoe-component-server-simplehttp-perl/current/Changes
branches/upstream/libpoe-component-server-simplehttp-perl/current/LICENSE
branches/upstream/libpoe-component-server-simplehttp-perl/current/META.yml
branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Base.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Can.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Fetch.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Makefile.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Metadata.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Win32.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/WriteAll.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/Connection.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/Response.pm
branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/State.pm
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/Changes?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/Changes (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/Changes Thu Jun 30 13:04:24 2011
@@ -1,3 +1,49 @@
+==============================
+2011-05-14 11:13:32 +0100 2.12
+==============================
+
+ commit b0992bad00d249173ee5ff8b156fcf345156dd61
+ Author: Chris 'BinGOs' Williams <chris at bingosnet.co.uk>
+ Date: Sat May 14 11:13:32 2011 +0100
+
+ Bump version
+
+ commit 56f65f688bb69c6a222b9d43fff71babd5df683e
+ Author: Adrian Yee <adrian at gt.net>
+ Date: Sat May 14 10:59:45 2011 +0100
+
+ [RT #67951] Patch: Keep alive connections aren't reset properly after
+ streaming
+
+ Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67951 >
+
+ If keep-alives are enabled and streaming is used, the connection
+ state isn't reset properly causing the wrong output on subsequent
+ requests.
+
+ Signed-off-by: Chris 'BinGOs' Williams <chris at bingosnet.co.uk>
+
+ commit abf359178399cbeb32522853690abd797e91dfcd
+ Author: Adrian Yee <adrian at gt.net>
+ Date: Sat May 14 10:53:51 2011 +0100
+
+ [RT #67949] Patch: Connection closes before last flush while
+ streaming
+
+ Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67949 >
+
+ Since the pod isn't complete for how to properly stream, I'm not 100%
+ sure this patch is correct, but here goes anyways.
+
+ After you've completed streaming and you call DONE, it always yields
+ got_flush regardless if POE::Wheel::ReadWrite has something left in
+ its buffer to flush. Executing the got_flush event when it has data
+ left in its buffer leads to SimpleHTTP resetting/closing the
+ connection prematurely. This patch fixes it by allowing ReadWrite to
+ flush the last chunk itself.
+
+ Signed-off-by: Chris 'BinGOs' Williams <chris at bingosnet.co.uk>
+
==============================
2011-03-08 00:28:07 +0000 2.10
==============================
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/LICENSE?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/LICENSE (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/LICENSE Thu Jun 30 13:04:24 2011
@@ -18,15 +18,16 @@
The GNU General Public License, Version 1, February 1989
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
@@ -67,7 +68,7 @@
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
@@ -185,7 +186,7 @@
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -207,9 +208,9 @@
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
-
- Appendix: How to Apply These Terms to Your New Programs
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
@@ -235,8 +236,9 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
Also add information on how to contact you by electronic and paper mail.
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/META.yml?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/META.yml (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/META.yml Thu Jun 30 13:04:24 2011
@@ -10,7 +10,7 @@
configure_requires:
ExtUtils::MakeMaker: 6.42
distribution_type: module
-generated_by: 'Module::Install version 1.00'
+generated_by: 'Module::Install version 1.01'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,16 +24,16 @@
provides:
POE::Component::Server::SimpleHTTP:
file: lib/POE/Component/Server/SimpleHTTP.pm
- version: 2.10
+ version: 2.12
POE::Component::Server::SimpleHTTP::Connection:
file: lib/POE/Component/Server/SimpleHTTP/Connection.pm
- version: 2.10
+ version: 2.12
POE::Component::Server::SimpleHTTP::Response:
file: lib/POE/Component/Server/SimpleHTTP/Response.pm
- version: 2.10
+ version: 2.12
POE::Component::Server::SimpleHTTP::State:
file: lib/POE/Component/Server/SimpleHTTP/State.pm
- version: 2.10
+ version: 2.12
requires:
Carp: 0
HTTP::Date: 0
@@ -51,4 +51,4 @@
homepage: http://github.com/bingos/poe-component-server-simplehttp/tree
license: http://dev.perl.org/licenses/
repository: git://github.com/bingos/poe-component-server-simplehttp.git
-version: 2.10
+version: 2.12
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install.pm Thu Jun 30 13:04:24 2011
@@ -31,7 +31,7 @@
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
- $VERSION = '1.00';
+ $VERSION = '1.01';
# Storage for the pseudo-singleton
$MAIN = undef;
@@ -467,4 +467,4 @@
1;
-# Copyright 2008 - 2010 Adam Kennedy.
+# Copyright 2008 - 2011 Adam Kennedy.
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Base.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Base.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Base.pm Thu Jun 30 13:04:24 2011
@@ -4,7 +4,7 @@
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
}
# Suspend handler for "redefined" warnings
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Can.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Can.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Can.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Can.pm Thu Jun 30 13:04:24 2011
@@ -9,7 +9,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Fetch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Fetch.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Fetch.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Fetch.pm Thu Jun 30 13:04:24 2011
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Makefile.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Makefile.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Makefile.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Makefile.pm Thu Jun 30 13:04:24 2011
@@ -8,7 +8,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Metadata.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Metadata.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Metadata.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Metadata.pm Thu Jun 30 13:04:24 2011
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -515,6 +515,7 @@
'GNU Free Documentation license' => 'unrestricted', 1,
'GNU Affero General Public License' => 'open_source', 1,
'(?:Free)?BSD license' => 'bsd', 1,
+ 'Artistic license 2\.0' => 'artistic_2', 1,
'Artistic license' => 'artistic', 1,
'Apache (?:Software )?license' => 'apache', 1,
'GPL' => 'gpl', 1,
@@ -550,9 +551,9 @@
sub _extract_bugtracker {
my @links = $_[0] =~ m#L<(
- \Qhttp://rt.cpan.org/\E[^>]+|
- \Qhttp://github.com/\E[\w_]+/[\w_]+/issues|
- \Qhttp://code.google.com/p/\E[\w_\-]+/issues/list
+ https?\Q://rt.cpan.org/\E[^>]+|
+ https?\Q://github.com/\E[\w_]+/[\w_]+/issues|
+ https?\Q://code.google.com/p/\E[\w_\-]+/issues/list
)>#gx;
my %links;
@links{@links}=();
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Win32.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Win32.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Win32.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/Win32.pm Thu Jun 30 13:04:24 2011
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/WriteAll.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/WriteAll.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/WriteAll.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/inc/Module/Install/WriteAll.pm Thu Jun 30 13:04:24 2011
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.01';
@ISA = qw{Module::Install::Base};
$ISCORE = 1;
}
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP.pm Thu Jun 30 13:04:24 2011
@@ -5,7 +5,7 @@
use vars qw($VERSION);
-$VERSION = '2.10';
+$VERSION = '2.12';
use POE;
use POE::Wheel::SocketFactory;
@@ -744,6 +744,8 @@
$state->set_connection( $state->response->connection );
$state->reset;
$self->_connections->{$id} = $state;
+ delete $self->_chunkcount->{$id};
+ delete $self->_responses->{$id};
}
else {
# Shutdown read/write on the wheel
@@ -902,7 +904,9 @@
$self->_requests->{$id}->set_streaming(0);
$self->_requests->{$id}->set_done(1); # Finished streaming
# TODO: We might not get a flush, trigger it ourselves.
- $kernel->yield( 'got_flush', $id );
+ if ( !$self->_requests->{$id}->wheel->get_driver_out_messages ) {
+ $kernel->yield( 'got_flush', $id );
+ }
return;
}
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/Connection.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/Connection.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/Connection.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/Connection.pm Thu Jun 30 13:04:24 2011
@@ -4,7 +4,7 @@
use strict;
use warnings;
-our $VERSION = '2.10';
+our $VERSION = '2.12';
use Socket qw( inet_ntoa unpack_sockaddr_in );
use POE;
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/Response.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/Response.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/Response.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/Response.pm Thu Jun 30 13:04:24 2011
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.10';
+our $VERSION = '2.12';
use base qw( HTTP::Response );
Modified: branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/State.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/State.pm?rev=76793&op=diff
==============================================================================
--- branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/State.pm (original)
+++ branches/upstream/libpoe-component-server-simplehttp-perl/current/lib/POE/Component/Server/SimpleHTTP/State.pm Thu Jun 30 13:04:24 2011
@@ -4,7 +4,7 @@
use warnings;
use POE::Wheel::ReadWrite;
-our $VERSION = '2.10';
+our $VERSION = '2.12';
use Moose;
More information about the Pkg-perl-cvs-commits
mailing list