Package: apt-cache
Version: 1.6.7
There's a typo in the 400 error message given by apt-cacher.
15:32:30 - flash:[...ees/apt-cacher-1.6.7ubuntu2] grep -rn "Recieved" *
apt-cacher2:362: &sendrsp(400, 'No Request Recieved');
It should be "Received".
patch attached.
--- apt-cacher2.orig 2008-12-19 15:35:40.000000000 -0800
+++ apt-cacher2 2008-12-19 15:35:48.000000000 -0800
@@ -359,7 +359,7 @@ sub handle_connection {
if (!defined($_)) {
exit(0) if $mode && $mode eq 'cgi';
- &sendrsp(400, 'No Request Recieved');
+ &sendrsp(400, 'No Request Received');
exit(4);
}