/[smeserver]/rpms/perl-Mojolicious/sme10/Mojolicious-6.12.cleanup.patch
ViewVC logotype

Contents of /rpms/perl-Mojolicious/sme10/Mojolicious-6.12.cleanup.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Feb 9 09:27:45 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mojolicious-6_44-2_el7_sme, perl-Mojolicious-6_44-1_el7_sme, HEAD
Import Mojo 6.44 (from Charlie Brady) in sme10 branch

1 diff -ru work.orig/Mojolicious-6.12/lib/Mojo/UserAgent.pm work/Mojolicious-6.12/lib/Mojo/UserAgent.pm
2 --- work.orig/Mojolicious-6.12/lib/Mojo/UserAgent.pm 2015-06-10 10:14:05.000000000 -0400
3 +++ work/Mojolicious-6.12/lib/Mojo/UserAgent.pm 2015-07-07 15:05:31.000000000 -0400
4 @@ -76,7 +76,7 @@
5 $self->_finish($_, 1) for keys %{$self->{connections} || {}};
6
7 # Clean up keep-alive connections
8 - my $loop = $self->_loop(0);
9 + my $loop = $self->_loop(0) or return;
10 $loop->remove($_->[1]) for @{delete $self->{queue} || []};
11 $loop = $self->_loop(1);
12 $loop->remove($_->[1]) for @{delete $self->{nb_queue} || []};

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed