commit perl-Mojolicious for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Mojolicious for openSUSE:Factory checked in at 2019-05-25 13:20:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious (Old) and /work/SRC/openSUSE:Factory/.perl-Mojolicious.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Mojolicious" Sat May 25 13:20:48 2019 rev:110 rq:705195 version:8.17 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Mojolicious/perl-Mojolicious.changes 2019-05-21 10:40:28.331083680 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Mojolicious.new.5148/perl-Mojolicious.changes 2019-05-25 13:20:49.180323516 +0200 @@ -1,0 +2,10 @@ +Fri May 24 05:14:59 UTC 2019 - Stephan Kulow <coolo@suse.com> + +- updated to 8.17 + see /usr/share/doc/packages/perl-Mojolicious/Changes + + 8.17 2019-05-23 + - Fixed a bug in Mojo::UserAgent where the request timeout would not work for + keep-alive requests. (ilmari) + +------------------------------------------------------------------- Old: ---- Mojolicious-8.16.tar.gz New: ---- Mojolicious-8.17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Mojolicious.spec ++++++ --- /var/tmp/diff_new_pack.XdU4O5/_old 2019-05-25 13:20:50.748322933 +0200 +++ /var/tmp/diff_new_pack.XdU4O5/_new 2019-05-25 13:20:50.752322931 +0200 @@ -17,7 +17,7 @@ Name: perl-Mojolicious -Version: 8.16 +Version: 8.17 Release: 0 %define cpan_name Mojolicious Summary: Real-time web framework ++++++ Mojolicious-8.16.tar.gz -> Mojolicious-8.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.16/Changes new/Mojolicious-8.17/Changes --- old/Mojolicious-8.16/Changes 2019-05-14 16:38:33.000000000 +0200 +++ new/Mojolicious-8.17/Changes 2019-05-23 22:47:46.000000000 +0200 @@ -1,4 +1,8 @@ +8.17 2019-05-23 + - Fixed a bug in Mojo::UserAgent where the request timeout would not work for + keep-alive requests. (ilmari) + 8.16 2019-05-14 - Improved Mojo::Headers to reject characters in header values that would corrupt the HTTP message. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.16/META.json new/Mojolicious-8.17/META.json --- old/Mojolicious-8.16/META.json 2019-05-19 21:49:29.000000000 +0200 +++ new/Mojolicious-8.17/META.json 2019-05-23 22:50:34.000000000 +0200 @@ -58,6 +58,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "8.16", + "version" : "8.17", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.16/META.yml new/Mojolicious-8.17/META.yml --- old/Mojolicious-8.16/META.yml 2019-05-19 21:49:29.000000000 +0200 +++ new/Mojolicious-8.17/META.yml 2019-05-23 22:50:34.000000000 +0200 @@ -31,5 +31,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/mojo.git -version: '8.16' +version: '8.17' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.16/lib/Mojo/UserAgent.pm new/Mojolicious-8.17/lib/Mojo/UserAgent.pm --- old/Mojolicious-8.16/lib/Mojo/UserAgent.pm 2018-11-28 19:00:50.000000000 +0100 +++ new/Mojolicious-8.17/lib/Mojo/UserAgent.pm 2019-05-23 22:46:21.000000000 +0200 @@ -225,7 +225,7 @@ # Remove request timeout and finish transaction return undef unless my $c = $self->{connections}{$id}; - $c->{ioloop}->remove($c->{timeout}) if $c->{timeout}; + $c->{ioloop}->remove(delete $c->{timeout}) if $c->{timeout}; return $self->_reuse($id, $close) unless my $old = $c->{tx}; # Premature connection close diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.16/lib/Mojolicious.pm new/Mojolicious-8.17/lib/Mojolicious.pm --- old/Mojolicious-8.16/lib/Mojolicious.pm 2019-04-26 19:53:50.000000000 +0200 +++ new/Mojolicious-8.17/lib/Mojolicious.pm 2019-05-23 22:48:50.000000000 +0200 @@ -59,7 +59,7 @@ has validator => sub { Mojolicious::Validator->new }; our $CODENAME = 'Supervillain'; -our $VERSION = '8.16'; +our $VERSION = '8.17'; sub BUILD_DYNAMIC { my ($class, $method, $dyn_methods) = @_; @@ -974,6 +974,8 @@ Danijel Tasov +Dagfinn Ilmari Mannsaker + Danny Thomas David Davis diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.16/t/mojo/user_agent.t new/Mojolicious-8.17/t/mojo/user_agent.t --- old/Mojolicious-8.16/t/mojo/user_agent.t 2018-11-22 21:23:08.000000000 +0100 +++ new/Mojolicious-8.17/t/mojo/user_agent.t 2019-05-23 22:46:59.000000000 +0200 @@ -427,6 +427,15 @@ Mojo::IOLoop->start; ok !Mojo::IOLoop->stream($id), 'connection timed out'; +# Request timeout with keep-alive +$ua->request_timeout(3600); +ok !$ua->get('/')->error, 'priming the keep-alive connection'; +$ua->request_timeout(0.01); +$tx = $ua->get('/timeout?timeout=5'); +is $tx->error->{message}, 'Request timeout', 'right error message'; +is $tx->error->{code}, undef, 'no status'; +$ua->request_timeout(0); + # Response exceeding message size limit $ua->once( start => sub {
participants (1)
-
root