Просмотр исходного кода

methods/http.cc: shorten comment on return values of DealWithHeaders (because we use a enum now)

Michael Vogt лет назад: 16
Родитель
Сommit
f64684a40c
2 измененных файлов с 3 добавлено и 9 удалено
  1. 2 2
      debian/changelog
  2. 1 7
      methods/http.cc

+ 2 - 2
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
 

+ 1 - 7
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)