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

« back to all changes in this revision

Viewing changes to src/ProtoPort.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
 
 
2
/*
 
3
 * $Id$
 
4
 *
 
5
 */
 
6
 
 
7
#include "squid.h"
 
8
#include "ProtoPort.h"
 
9
 
 
10
http_port_list::http_port_list(const char *aProtocol)
 
11
#if USE_SSL
 
12
        :
 
13
        http(*this)
 
14
#endif
 
15
{
 
16
    protocol = xstrdup(aProtocol);
 
17
}
 
18
 
 
19
http_port_list::~http_port_list()
 
20
{
 
21
    safe_free(name);
 
22
    safe_free(defaultsite);
 
23
    safe_free(protocol);
 
24
 
 
25
#if USE_SSL
 
26
    safe_free(cert);
 
27
    safe_free(key);
 
28
    safe_free(options);
 
29
    safe_free(cipher);
 
30
    safe_free(cafile);
 
31
    safe_free(capath);
 
32
    safe_free(dhfile);
 
33
    safe_free(sslflags);
 
34
#endif
 
35
}
 
36
 
 
37
 
 
38
#if USE_SSL
 
39
 
 
40
https_port_list::https_port_list(): http_port_list("https")
 
41
{
 
42
}
 
43
 
 
44
#endif