Your message dated Tue, 25 Sep 2012 20:47:37 +0000 with message-id <[email protected]> and subject line Bug#682437: fixed in apt-cacher 1.7.5 has caused the Debian Bug report #682437, regarding apt-cacher: chunked requests sometimes broken? 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.) -- 682437: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682437 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt-cacher Version: 1.7.4 Severity: normal Hi, I -think- I've found a chunk-related bug. The initial symptom is a slow-running (due to waiting for server-end timeouts) apt-get update, accompanied by a BADSIG error from gpg. curl hints at a problem: michael@porty:~/Downloads$ http_proxy=ying:3142 curl -D - dl.google.com/linux/talkplugin/deb/dists/stable/Release HTTP/1.1 200 OK Cache-Control: private Connection: Keep-Alive Date: Sun, 22 Jul 2012 16:54:55 GMT Transfer-Encoding: chunked Via: 1.1 ying:3142 (apt-cacher/1.7.4) Accept-Ranges: bytes ETag: 2f23c Server: downloads Vary: * Content-Length: 1347 Content-Type: text/html Last-Modified: Fri, 20 Jul 2012 00:37:00 GMT Keep-Alive: timeout=15, max=100 X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block curl: (56) Problem (2) in the Chunked-Encoded data It looks a bit like apt-cacher is saying that it's returning a chunked reply in the headers, and then failing to actually chunk the reply it sends. APT seems to quietly ignore the lack of chunkedness in the reply, and ends up eventually absorbing a 408 error into the response body. Just in case I've made a horrible mistake, I've attached a pcap dump of the above curl request, as seen from the apt-cacher machine's side. -- System Information: Debian Release: 6.0.5 APT prefers stable APT policy: (500, 'stable'), (490, 'testing'), (450, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages apt-cacher depends on: ii debconf [debconf-2.0] 1.5.44 Debian configuration management sy ii dpkg 1.16.4.3 Debian package management system ii ed 1.4-3 The classic UNIX line editor ii libfilesys-df-perl 0.92-4+b1 Module to obtain filesystem disk s ii libfreezethaw-perl 0.5001-1 module to serialize and deserializ ii libio-interface-perl 1.06-1+b1 socket methods to get/set interfac ii libnetaddr-ip-perl 4.062+dfsg-1 IP address manipulation module ii libsys-syscall-perl 0.23-1 module to access system calls that ii libwww-curl-perl 4.15-1+b2 Perl bindings to libcurl ii libwww-perl 6.04-1 simple and consistent interface to ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii perl 5.14.2-12 Larry Wall's Practical Extraction ii update-inetd 4.43 inetd configuration file updater Versions of packages apt-cacher recommends: pn libberkeleydb-perl <none> (no description available) Versions of packages apt-cacher suggests: pn libio-socket-inet6-perl <none> (no description available) -- debconf information: * apt-cacher/mode: daemon
apt-cacher.pcap
Description: application/cap
--- End Message ---
--- Begin Message ---Source: apt-cacher Source-Version: 1.7.5 We believe that the bug you reported is fixed in the latest version of apt-cacher, 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. Mark Hindley <[email protected]> (supplier of updated apt-cacher 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, 20 Aug 2012 08:26:37 +0100 Source: apt-cacher Binary: apt-cacher Architecture: source all Version: 1.7.5 Distribution: unstable Urgency: low Maintainer: Mark Hindley <[email protected]> Changed-By: Mark Hindley <[email protected]> Description: apt-cacher - Caching proxy for Debian package and source files Closes: 672871 682437 685051 Changes: apt-cacher (1.7.5) unstable; urgency=low . * Fix receiving with Transfer-Encoding: chunked (closes: #682437, #685051). * When fetching, if checksum for index file fails, retry after refreshing Release file. * Don't abuse internal request headers by using X-AptCacher-Internal. * Handle failure of print in fetcher gracefully. * Implement curl_throttle to control libcurl CPU usage (closes: #672871). * Add configuration option skip_checksum_files_regexp. * Protect against empty Connection header in response. * When doing case insensitive comparison use faster lc() rather than regexp. Checksums-Sha1: 24deedd2eb566cdc8d0147c0dbde7322a314a7e4 857 apt-cacher_1.7.5.dsc 70af271da3507981c66662227f16eb6201801994 105320 apt-cacher_1.7.5.tar.gz 91ee6ec020deacd68e5c45ef303c160aeeaca133 103604 apt-cacher_1.7.5_all.deb Checksums-Sha256: c5ecd4ab8faf4780cad79299e417a4fafe236dcf63d85bee61443e1446b09d7d 857 apt-cacher_1.7.5.dsc 1c9f715b3ffb4781923d3f705d40dde302062fae921846cf2d6d8409d3d4a3e0 105320 apt-cacher_1.7.5.tar.gz e6d7047a054b720cff4b5205e107f0dbf8a4c93d120ecadeec26aa84b4cf3777 103604 apt-cacher_1.7.5_all.deb Files: bf311b05cb42f58185db3c8d89c3e6ff 857 net optional apt-cacher_1.7.5.dsc 2e78c2e2391065bdd93dce868348ba3e 105320 net optional apt-cacher_1.7.5.tar.gz e3ea03132b10b4188a6e3a96d271d5c9 103604 net optional apt-cacher_1.7.5_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFQYgd/4QZIHu3wCMURAisiAJ9/DMY91g8dXpB3G6iezOd63YmeNQCfWVyG m14migFounkPhhxf+fwACKE= =JyPl -----END PGP SIGNATURE-----
--- End Message ---

