Sorry, I just made the same mistake as you did and forgot --fail option.
There is no guarantee about return code if --fail is missing, RTFM!

(I am keen on that fact because acng uses sometimes 404 pages to carry
relevant information for different purposes which might be confused when
someone uses probing for existence)

That said, please add -D- option to your call to at least see what is
going on with headers. For me, the issue is not reproducible as-is.
Looking at your example, I have the impression that there is an
invisible char right after http://ubuntu.uhost.hk/ in the command line.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1440293

Title:
  acng returns incorrect information (200 instead of 404)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1440293/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to