From f64684a40c97fc52bcd7942bed81bf08b02fdd28 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 25 May 2010 17:45:12 +0200 Subject: methods/http.cc: shorten comment on return values of DealWithHeaders (because we use a enum now) --- debian/changelog | 4 ++-- methods/http.cc | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index 037e424d6..b4aa5753b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -apt (0.7.26~exp5) UNRELEASED; urgency=low +apt (0.7.26~exp5) experimental; urgency=low [ David Kalnischkies ] * cmdline/apt-get.cc: @@ -55,7 +55,7 @@ apt (0.7.26~exp5) UNRELEASED; urgency=low * apt-pkg/acquire-item.cc: - Fix pkgAcqFile::Custom600Headers() to always return something. - -- David Kalnischkies Thu, 06 May 2010 16:10:39 +0200 + -- Michael Vogt Tue, 25 May 2010 16:01:42 +0200 apt (0.7.26~exp4) experimental; urgency=low diff --git a/methods/http.cc b/methods/http.cc index c05abc862..d43dd14c8 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -914,13 +914,7 @@ bool HttpMethod::ServerDie(ServerState *Srv) // HttpMethod::DealWithHeaders - Handle the retrieved header data /*{{{*/ // --------------------------------------------------------------------- /* We look at the header data we got back from the server and decide what - to do. Returns - 0 - File is open, - 1 - IMS hit - 3 - Unrecoverable error - 4 - Error with error content page - 5 - Unrecoverable non-server error (close the connection) - 6 - Try again with a new or changed URI + to do. Returns DealWithHeadersResult (see http.h for details). */ HttpMethod::DealWithHeadersResult HttpMethod::DealWithHeaders(FetchResult &Res,ServerState *Srv) -- cgit v1.2.3