Your message dated Mon, 24 Dec 2012 01:02:27 +0000
with message-id <[email protected]>
and subject line Bug#370168: fixed in squid-prefetch 1.1-3
has caused the Debian Bug report #370168,
regarding diff for 1.0-1.1 NMU
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
370168: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=370168
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: squid-prefetch
Version: 1.0-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my squid-prefetch 1.0-1.1 NMU.
diff -Nru /tmp/A7XIT6TkIo/squid-prefetch-1.0/debian/changelog 
/tmp/3EOq683wfD/squid-prefetch-1.0/debian/changelog
--- /tmp/A7XIT6TkIo/squid-prefetch-1.0/debian/changelog 2005-01-04 
15:39:54.000000000 +0100
+++ /tmp/3EOq683wfD/squid-prefetch-1.0/debian/changelog 2006-06-03 
21:31:34.000000000 +0200
@@ -1,3 +1,11 @@
+squid-prefetch (1.0-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Fix alarm timer handling in case of exceptions; patch from Matej Vela.
+    (Closes: #349745)
+
+ -- Steinar H. Gunderson <[email protected]>  Sat,  3 Jun 2006 21:30:07 +0200
+
 squid-prefetch (1.0-1) unstable; urgency=medium
 
   * fixed problem locating squid config file (closes: #267737)
diff -Nru /tmp/A7XIT6TkIo/squid-prefetch-1.0/squid-prefetch 
/tmp/3EOq683wfD/squid-prefetch-1.0/squid-prefetch
--- /tmp/A7XIT6TkIo/squid-prefetch-1.0/squid-prefetch   2005-01-04 
15:39:10.000000000 +0100
+++ /tmp/3EOq683wfD/squid-prefetch-1.0/squid-prefetch   2006-06-03 
21:30:05.000000000 +0200
@@ -144,14 +144,18 @@
        local $SIG{ALRM} = sub { die "Error: Timeout fetching $url\n" };
        alarm(3);
 
+       eval {
        my $http = Net::HTTP->new(PeerHost => $ProxyHost, PeerPort => 
$ProxyPort, Host => $host, SendTE => 0, KeepAlive => 0);
        $http->write_request("GET" => "http://$host$path";, "Accept" => 
"text/html", "Cache-Control" => "only-if-cached", "User-Agent" => 
"Squid-Prefetch");
        my ($code,$mesg,%hdrs) = $http->read_response_headers();
        print "\nfetch: $url: $code ($mesg)\n";
        print "  $k  ->  $v\n" while (($k,$v) = each %hdrs);
+       };
 
        alarm(0);
 
+       die if $@;
+
        if ($code != 200) {
                print STDERR "Warning: fetch returned code $code ($mesg) for 
$url\n";
                return;
@@ -170,6 +174,7 @@
        }
 
        alarm(5);
+       eval {
        while (1) {
                my $bufr;
                my $size = $http->read_entity_body($bufr,4096);
@@ -193,7 +198,9 @@
 
                $data =~ s!^.*($|<)!!;
        }
+       };
        alarm(0);
+       die if $@;
 
        @links = uniq(sort(@links));
        RandomizeArray(\@links);
@@ -216,14 +223,18 @@
        local $SIG{ALRM} = sub { die "Error: Timeout fetching $url\n" };
        alarm(3);
 
+       eval {
        my $http = Net::HTTP->new(PeerHost => $ProxyHost, PeerPort => 
$ProxyPort, Host => $host, SendTE => 1, KeepAlive => 0);
        $http->write_request("GET" => "http://$host$path";, "Accept" => 
"text/*", "User-Agent" => "Squid-Prefetch");
        my ($code,$mesg,%hdrs) = $http->read_response_headers();
        print "\nprefetch: $url: $code ($mesg)\n";
 #      print "  $k  ->  $v\n" while (($k,$v) = each %hdrs);
+       };
 
        alarm(0);
 
+       die if $@;
+
        if ($code != 200) {
                print STDERR "Warning: fetch returned code $code ($mesg) for 
$url\n";
                return;
@@ -238,6 +249,7 @@
        }
 
        alarm(5);
+       eval {
        while (1) {
                my $bufr;
                my $size = $http->read_entity_body($bufr,4096);
@@ -246,7 +258,9 @@
                $total += $size;
                last if ($total > $FetchMaxSize);
        }
+       };
        alarm(0);
+       die if $@;
 }
 
 

--- End Message ---
--- Begin Message ---
Source: squid-prefetch
Source-Version: 1.1-3

We believe that the bug you reported is fixed in the latest version of
squid-prefetch, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Lichtenheld <[email protected]> (supplier of updated squid-prefetch 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 24 Dec 2012 01:34:09 +0100
Source: squid-prefetch
Binary: squid-prefetch
Architecture: source all
Version: 1.1-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[email protected]>
Changed-By: Frank Lichtenheld <[email protected]>
Description: 
 squid-prefetch - Simple page-prefetch for Squid web proxy
Closes: 370168 459131 467407 553129
Changes: 
 squid-prefetch (1.1-3) unstable; urgency=low
 .
   * QA upload.
   * Change maintainer to QA Group
   * debian/ cleanup:
     - use debhelper/dh
     - introduce at least a basic syntax check
   * Apply patch from Daniel Dumitrache to fix error reporting
     broken by 1.0-1.1. (closes: #370168)
 .
 squid-prefetch (1.1-2.3) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix "maintainer-script-calls-init-script-directly prerm:3
     than using invoke-rc.d." (closes: #553129).
 .
 squid-prefetch (1.1-2.2) unstable; urgency=low
 .
   * Non-maintainer upload to solve release goal.
   * Add LSB dependency header to init.d scripts (Closes: #467407).
 .
 squid-prefetch (1.1-2.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * debian/rules: fixed bashisms. (Closes: #459131)
Checksums-Sha1: 
 47950dc49c4299f35457c72a0dfb75a4c65ae437 807 squid-prefetch_1.1-3.dsc
 3ba736ac126d60e3a03cd08ec3aa0cf669db39bc 7281 squid-prefetch_1.1-3.tar.gz
 a296549978e4a1be8db5239f5a68cd1fc9f14a98 8246 squid-prefetch_1.1-3_all.deb
Checksums-Sha256: 
 77004dc53f1d42e40d4338e3ea4c75ca7fb46165e6cdaf28e0d8d411dc3605b3 807 
squid-prefetch_1.1-3.dsc
 a116fb9c4ae4e253d145d70246c115563dfc45b464389f29c2557a353de9717f 7281 
squid-prefetch_1.1-3.tar.gz
 fd2036e4b83320a93d13599fa1120f2bb5493f1c70b1aede29f05084ba63ac68 8246 
squid-prefetch_1.1-3_all.deb
Files: 
 fabe957f22218d61536dc52dda456616 807 web optional squid-prefetch_1.1-3.dsc
 49d6b5edfbe96fb09c6b6646e5238545 7281 web optional squid-prefetch_1.1-3.tar.gz
 a39a9b29decdd26b678ed7f20c54c5a3 8246 web optional squid-prefetch_1.1-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlDXqJYACgkQQbn06FtxPfCWMgCgx/pYqk9j4ZuT9ey6c3Eb1mlH
9e0An2FYSrMU9EPZ+4m/XRZBvKUIfA6x
=5Ou3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to