~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/ICAP/ICAPElements.cc

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2009-09-24 14:51:06 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (20.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090924145106-38jgrzmj0d73pha5
Tags: 3.1.0.13-1
* Upload to experimental

* New upstream release
  - Fixes Follow-X-Forwarded-For support (Closes: #523943)
  - Adds IPv6 support (Closes: #432351)

* debian/rules
  - Removed obsolete configuration options
  - Enable db and radius basic authentication modules

* debian/patches/01-cf.data.debian
  - Adapted to new upstream version

* debian/patches/02-makefile-defaults
  - Adapted to new upstream version

* debian/{squid.postinst,squid.rc,README.Debian,watch}
  - Updated references to squid 3.1

* debian/squid3.install
  - Install CSS file for error pages
  - Install manual pages for new authentication modules

* debian/squid3-common.install
  - Install documented version of configuration file in /usr/share/doc/squid3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include "squid.h"
2
 
#include "ICAPElements.h"
3
 
 
4
 
const char *ICAP::crlf = "\r\n";
5
 
 
6
 
 
7
 
const char *
8
 
ICAP::methodStr(ICAP::Method method)
9
 
{
10
 
    switch(method) {
11
 
 
12
 
    case ICAP::methodReqmod:
13
 
        return "REQMOD";
14
 
        break;
15
 
 
16
 
    case ICAP::methodRespmod:
17
 
        return "RESPMOD";
18
 
        break;
19
 
 
20
 
    case ICAP::methodOptions:
21
 
        return "OPTIONS";
22
 
        break;
23
 
 
24
 
    default:
25
 
        break;
26
 
    }
27
 
 
28
 
    return "NONE";
29
 
}
30
 
 
31
 
 
32
 
const char *
33
 
ICAP::vectPointStr(ICAP::VectPoint point)
34
 
{
35
 
    switch(point) {
36
 
 
37
 
    case ICAP::pointPreCache:
38
 
        return "PRECACHE";
39
 
        break;
40
 
 
41
 
    case ICAP::pointPostCache:
42
 
        return "POSTCACHE";
43
 
        break;
44
 
 
45
 
    default:
46
 
        break;
47
 
    }
48
 
 
49
 
    return "NONE";
50
 
}
51
 
 
52