diff -Nru apt-cacher-ng-0.7.2/debian/changelog apt-cacher-ng-0.7.2/debian/changelog --- apt-cacher-ng-0.7.2/debian/changelog 2013-04-08 23:21:08.000000000 +0000 +++ apt-cacher-ng-0.7.2/debian/changelog 2013-04-16 12:27:55.000000000 +0000 @@ -1,3 +1,10 @@ +apt-cacher-ng (0.7.2-1ubuntu2.1) precise-proposed; urgency=low + + [ Eduard Bloch ] + * Prevents endless looping in certain situations (LP: #999915) + + -- Chris J Arges Mon, 15 Apr 2013 10:57:22 -0500 + apt-cacher-ng (0.7.2-1ubuntu2) precise; urgency=low [ Eduard Bloch ] diff -Nru apt-cacher-ng-0.7.2/debian/patches/series apt-cacher-ng-0.7.2/debian/patches/series --- apt-cacher-ng-0.7.2/debian/patches/series 2013-04-08 23:20:59.000000000 +0000 +++ apt-cacher-ng-0.7.2/debian/patches/series 2013-04-16 12:27:36.000000000 +0000 @@ -1 +1,2 @@ fix-storage-of-http-header-data.patch +stop-looping.patch diff -Nru apt-cacher-ng-0.7.2/debian/patches/stop-looping.patch apt-cacher-ng-0.7.2/debian/patches/stop-looping.patch --- apt-cacher-ng-0.7.2/debian/patches/stop-looping.patch 1970-01-01 00:00:00.000000000 +0000 +++ apt-cacher-ng-0.7.2/debian/patches/stop-looping.patch 2013-04-16 12:27:36.000000000 +0000 @@ -0,0 +1,23 @@ +Description: prevents endless looping in certain situations + . + apt-cacher-ng (0.7.2-1ubuntu3) precise; urgency=low + . + [ Eduard Bloch ] + * Prevents endless looping in certain situations (LP: #999915) +Author: Eduard Bloch +Bug-Ubuntu: https://bugs.launchpad.net/bugs/999915 + +--- apt-cacher-ng-0.7.2.orig/source/dlcon.cc ++++ apt-cacher-ng-0.7.2/source/dlcon.cc +@@ -863,7 +863,11 @@ void dlcon::WorkLoop() + << ", good config: " << bGoodConfig); + + if(!bGoodConfig) ++ { ++ // something weird happened to it, drop it and let the client care ++ m_qNewjobs.pop_front(); + continue; ++ } + + if(acfg::proxy_info.sHost.empty() + // needs to send them for the connected target host