summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2010-05-25 17:45:12 +0200
committerMichael Vogt <mvo@debian.org>2010-05-25 17:45:12 +0200
commitf64684a40c97fc52bcd7942bed81bf08b02fdd28 (patch)
tree18adaeeba48670973a13f17aff71fb393cfe8aaa
parent60e94c8de0d794d778b8d1164950c1d2f7ced4bf (diff)
methods/http.cc: shorten comment on return values of DealWithHeaders (because we use a enum now)
-rw-r--r--debian/changelog4
-rw-r--r--methods/http.cc8
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 <kalnischkies@gmail.com> Thu, 06 May 2010 16:10:39 +0200
+ -- Michael Vogt <mvo@debian.org> 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)