Hello community, here is the log from the commit of package perl-AnyEvent-HTTP for openSUSE:Factory checked in at 2016-09-26 12:36:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-AnyEvent-HTTP (Old) and /work/SRC/openSUSE:Factory/.perl-AnyEvent-HTTP.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-AnyEvent-HTTP" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-AnyEvent-HTTP/perl-AnyEvent-HTTP.changes 2015-05-18 22:20:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-AnyEvent-HTTP.new/perl-AnyEvent-HTTP.changes 2016-09-26 12:36:05.000000000 +0200 @@ -1,0 +2,14 @@ +Mon Aug 29 05:01:04 UTC 2016 - coolo@suse.com + +- updated to 2.23 + see /usr/share/doc/packages/perl-AnyEvent-HTTP/Changes + + TODO: default rbuf_max value maybe? how about reading large chunks in small parts? + + 2.23 Sun Aug 28 11:30:33 CEST 2016 + - relative redirects used the proxy schema instead of the request + url schema to generate the new url, which is wrong (analyzed by Felix + Ostmann). + - fix download example (reported by Felix Ostmann). + +------------------------------------------------------------------- Old: ---- AnyEvent-HTTP-2.22.tar.gz New: ---- AnyEvent-HTTP-2.23.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-AnyEvent-HTTP.spec ++++++ --- /var/tmp/diff_new_pack.MdBRKs/_old 2016-09-26 12:36:06.000000000 +0200 +++ /var/tmp/diff_new_pack.MdBRKs/_new 2016-09-26 12:36:06.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-AnyEvent-HTTP # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-AnyEvent-HTTP -Version: 2.22 +Version: 2.23 Release: 0 #Upstream: CHECK(GPL-1.0+ or Artistic-1.0) %define cpan_name AnyEvent-HTTP @@ -39,8 +39,8 @@ %{perl_requires} %description -This module is an the AnyEvent manpage user, you need to make sure that you -use and run a supported event loop. +This module is an AnyEvent user, you need to make sure that you use and run +a supported event loop. This module implements a simple, stateless and non-blocking HTTP client. It supports GET, POST and other request methods, cookies and more, all on a ++++++ AnyEvent-HTTP-2.22.tar.gz -> AnyEvent-HTTP-2.23.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/AnyEvent-HTTP-2.22/Changes new/AnyEvent-HTTP-2.23/Changes --- old/AnyEvent-HTTP-2.22/Changes 2015-05-14 04:04:06.000000000 +0200 +++ new/AnyEvent-HTTP-2.23/Changes 2016-08-28 11:30:38.000000000 +0200 @@ -11,6 +11,13 @@ TODO: callback as body (Kostirya) TODO: infinite recursion(?) (Kostirya) +TODO: default rbuf_max value maybe? how about reading large chunks in small parts? + +2.23 Sun Aug 28 11:30:33 CEST 2016 + - relative redirects used the proxy schema instead of the request + url schema to generate the new url, which is wrong (analyzed by Felix + Ostmann). + - fix download example (reported by Felix Ostmann). 2.22 Thu May 14 04:04:03 CEST 2015 - ipv6 literals were not correctly parsed (analyzed by Raphael Geissert). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/AnyEvent-HTTP-2.22/HTTP.pm new/AnyEvent-HTTP-2.23/HTTP.pm --- old/AnyEvent-HTTP-2.22/HTTP.pm 2015-05-14 04:04:22.000000000 +0200 +++ new/AnyEvent-HTTP-2.23/HTTP.pm 2016-08-28 11:31:17.000000000 +0200 @@ -48,7 +48,7 @@ use base Exporter::; -our $VERSION = 2.22; +our $VERSION = 2.23; our @EXPORT = qw(http_get http_post http_head http_request); @@ -897,7 +897,7 @@ my $loc = $hdr{location}; if ($loc =~ m%^//%) { # // - $loc = "$rscheme:$loc"; + $loc = "$uscheme:$loc"; } elsif ($loc eq "") { $loc = $url; @@ -906,7 +906,7 @@ $loc =~ s/^\.\/+//; if ($loc !~ m%^[.?#]%) { - my $prefix = "$rscheme://$uhost:$uport"; + my $prefix = "$uscheme://$uhost:$uport"; unless ($loc =~ s/^\///) { $prefix .= $upath; @@ -1463,8 +1463,6 @@ my %hdr; my $ofs = 0; - warn stat $fh; - warn -s _; if (stat $fh and -s _) { $ofs = -s _; warn "-s is ", $ofs; @@ -1502,7 +1500,7 @@ my $status = $hdr->{Status}; if (my $time = AnyEvent::HTTP::parse_date $hdr->{"last-modified"}) { - utime $fh, $time, $time; + utime $time, $time, $fh; } if ($status == 200 || $status == 206 || $status == 416) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/AnyEvent-HTTP-2.22/META.json new/AnyEvent-HTTP-2.23/META.json --- old/AnyEvent-HTTP-2.22/META.json 2015-05-14 04:04:29.000000000 +0200 +++ new/AnyEvent-HTTP-2.23/META.json 2016-08-28 11:31:22.000000000 +0200 @@ -4,7 +4,7 @@ "unknown" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060", + "generated_by" : "ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150001", "license" : [ "unknown" ], @@ -41,5 +41,5 @@ } }, "release_status" : "stable", - "version" : 2.22 + "version" : 2.23 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/AnyEvent-HTTP-2.22/META.yml new/AnyEvent-HTTP-2.23/META.yml --- old/AnyEvent-HTTP-2.22/META.yml 2015-05-14 04:04:29.000000000 +0200 +++ new/AnyEvent-HTTP-2.23/META.yml 2016-08-28 11:31:22.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060' +generated_by: 'ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150001' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -22,4 +22,4 @@ requires: AnyEvent: '5.33' common::sense: '3.3' -version: 2.22 +version: 2.23 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/AnyEvent-HTTP-2.22/README new/AnyEvent-HTTP-2.23/README --- old/AnyEvent-HTTP-2.22/README 2015-05-14 04:04:29.000000000 +0200 +++ new/AnyEvent-HTTP-2.23/README 2016-08-28 11:31:22.000000000 +0200 @@ -502,8 +502,6 @@ my %hdr; my $ofs = 0; - warn stat $fh; - warn -s _; if (stat $fh and -s _) { $ofs = -s _; warn "-s is ", $ofs; @@ -541,7 +539,7 @@ my $status = $hdr->{Status}; if (my $time = AnyEvent::HTTP::parse_date $hdr->{"last-modified"}) { - utime $fh, $time, $time; + utime $time, $time, $fh; } if ($status == 200 || $status == 206 || $status == 416) {