Your message dated Fri, 25 Nov 2016 23:48:27 +0000 with message-id <[email protected]> and subject line Bug#818633: fixed in approx 5.7-1 has caused the Debian Bug report #818633, regarding approx: fails to connect to HTTP/2 servers 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.) -- 818633: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818633 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: approx Version: 5.5-2 Severity: normal The dl.google.com server (which serves Debian packages of Google Chrome) supports HTTP/2 and replies to the initial HTTP request with a status of "HTTP/2.0 200", which omits the traditional reason phrase "OK". This trips a regular expression in approx and results in the following error: Mar 18 22:19:58 iota approx[7811]: Unrecognized response: HTTP/2.0 200 Mar 18 22:19:58 iota approx[7811]: Unexpected status code: 0 The reason phrase is captured in a group (to reuse 'with_pair', I assume) but never actually used so it can be made optional, which is what the following trivial patch does: --- a/approx.ml +++ b/approx.ml @@ -269,7 +269,7 @@ | [| a; b |] -> proc (a, b) | _ -> assert false -let status_re = Pcre.regexp "^HTTP/\\d+\\.\\d+\\s+(\\d{3})\\s+(.*?)\\s*$" +let status_re = Pcre.regexp "^HTTP/\\d+\\.\\d+\\s+(\\d{3})(?:\\s+(.*?)\\s*)?$" let header_re = Pcre.regexp "^(.*?):\\s*(.*?)\\s*$" let process_header resp str = Thanks, -- Romain Francoise <[email protected]> http://people.debian.org/~rfrancoise/
--- End Message ---
--- Begin Message ---Source: approx Source-Version: 5.7-1 We believe that the bug you reported is fixed in the latest version of approx, 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. Eric Cooper <[email protected]> (supplier of updated approx 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: SHA512 Format: 1.8 Date: Wed, 16 Nov 2016 18:08:24 -0500 Source: approx Binary: approx Architecture: source amd64 Version: 5.7-1 Distribution: unstable Urgency: medium Maintainer: Eric Cooper <[email protected]> Changed-By: Eric Cooper <[email protected]> Description: approx - caching proxy server for Debian archive files Closes: 465473 632926 686062 784312 818633 818731 Changes: approx (5.7-1) unstable; urgency=medium . [ Eric Cooper ] * New upstream version * remove unused code * simplify build using findlib * use OUnit for tests * change String.create to Bytes.create * relax check for Invalid_argument exception * increment version number * depend on OCaml 4.02 for Bytes module * add build dependency on OUnit * remove approx-gc program (closes: #465473, #632926, #686062, #818731) * use find(1) command in weekly cron job * update Standards-Version to 3.9.8 * add dependency on update-inetd . [ Mark White ] * add $curl_path configuration parameter * cache unknown file types for $interval . [ Kai Harries ] * remove dependencies on inet-superserver (closes: #784312) . [ Romain Francoise ] * Bug#818633: approx: fails to connect to HTTP/2 servers (closes: #818633) Checksums-Sha1: 82568c3d2a7bbd7c578f2a0c731e4c6ca652a212 2002 approx_5.7-1.dsc 6d5c4ddb0ae118d997039c74b40e808aed2f00d0 32961 approx_5.7.orig.tar.gz 7510f00243be21d996d8661bc416a21466941511 16576 approx_5.7-1.debian.tar.xz 32fe593dd07be0e8e0ab762b85fdce3c8abde917 260272 approx-dbgsym_5.7-1_amd64.deb 32b1fa872895c1abb90974579cccc25ec7e5756f 5456 approx_5.7-1_amd64.buildinfo e07ebd78e0273d0f41a721dfe787b0890971a772 958254 approx_5.7-1_amd64.deb Checksums-Sha256: 6142b46b5154dad220068349484e1aca84f73fb7598100f4710efd98adb1c5a1 2002 approx_5.7-1.dsc 63b1e7a42abe07aae7425b644b8d0d8e5887aa9d4c329e17f054a14a6426eab7 32961 approx_5.7.orig.tar.gz f080180dd5af5d19a7f1d841d47e72d9ff450d8eab175db9ad379021e9e381bf 16576 approx_5.7-1.debian.tar.xz 78c932f24fb71a48a379b7a204b9e5e7d1ebb2327b3a907f64bd17716e81eb98 260272 approx-dbgsym_5.7-1_amd64.deb 1d9a585697e6f26f86124fcfc84ee3fa12d6800646bbd3575c414c56abc74a1c 5456 approx_5.7-1_amd64.buildinfo a4501d974dd9292d088c9120ca48388c9b8de067900c3cbd40944817dd230043 958254 approx_5.7-1_amd64.deb Files: a4f9b6323498b68f5b38462d33dcb781 2002 admin optional approx_5.7-1.dsc 90925ff3acdd16ae31ed9e2495942e17 32961 admin optional approx_5.7.orig.tar.gz 03ad950e97504d4edbce3923e3b03e27 16576 admin optional approx_5.7-1.debian.tar.xz f8c6ed35abe317f67e3aaa417a3803d8 260272 debug extra approx-dbgsym_5.7-1_amd64.deb a30c8c9ea1c98087570b2000f8e0fe20 5456 admin optional approx_5.7-1_amd64.buildinfo cee91eb58a35839e60fd8b51315fc6e6 958254 admin optional approx_5.7-1_amd64.deb -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEXbl2R3uKpoRz7gMUh1aPFWLNUTIFAlg4wk8ACgkQh1aPFWLN UTILgg/8CXkorRF+o0jK3HDrVaAozUbQz7zAyGsjsGJ9Ulw28qJ1fSqdq3miqRA9 L/F4vmA+prffR3C4wRmfFrFloveepH62AOtCiv6lyU5vzsGutSyBXTNjBZPB43xD 9pU5y+GryKVvOZn1XUf09Vqh9zi50Pr85TcN46hJuWaudz6iVwiw77GbMtRAOinN 8gsDDhxfZHCLhFPFtOQzZee7MVwar3gBByTv1gcIXhHb4aVsy033Rg+obGc+WadN jHJdOoNNff2MfcBmRqP1ePbqO1mYGt/5hUyWrgUurZgthGuojUOaljuP2UFewJNo vMyWRq4H81BzP5u/dO47sHKYkS4F5OYyYSQF75bR/yG/Hj0h4Bk7QqEGV9alL9PJ d2LSF90okdYqOjpCYYQsAR6H03P32OEmGSJWkAhP/5oXA3dUNb04K8D6DKIO5QQh 8SpQSlYHuoyflCm7Lcguhf5EqiBVPCKTTEmACnvCqxHjQsPktDKyw6p7lowaQ0vs XFTrezP6xTSR6HYLzb4UoBiKODTFTRsQqIio/bfBv+aN/OVzf6o5GXVZUFcz36Ey f2NN2uP2qUvTfMc3bEMN4stELumr05NoXwgBwe9vCgMFw3P91hgsnPsclphR4bHh aQbM8VqqITqTcDfjSUEj+2Yqbko2wSJDQBFHhS9dtK4JEAC7LDY= =kQ0x -----END PGP SIGNATURE-----
--- End Message ---

