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

« back to all changes in this revision

Viewing changes to src/HierarchyLogEntry.h

  • 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
1
/*
3
 
 * $Id: HierarchyLogEntry.h,v 1.1 2003/10/16 21:40:16 robertc Exp $
 
2
 * $Id$
4
3
 *
5
4
 *
6
5
 * SQUID Web Proxy Cache          http://www.squid-cache.org/
19
18
 *  it under the terms of the GNU General Public License as published by
20
19
 *  the Free Software Foundation; either version 2 of the License, or
21
20
 *  (at your option) any later version.
22
 
 *  
 
21
 *
23
22
 *  This program is distributed in the hope that it will be useful,
24
23
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
25
24
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
25
 *  GNU General Public License for more details.
27
 
 *  
 
26
 *
28
27
 *  You should have received a copy of the GNU General Public License
29
28
 *  along with this program; if not, write to the Free Software
30
29
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
35
34
#ifndef SQUID_HTTPHIERARCHYLOGENTRY_H
36
35
#define SQUID_HTTPHIERARCHYLOGENTRY_H
37
36
 
 
37
#include "rfc2181.h"
38
38
#include "PingData.h"
39
39
 
 
40
/** todo Cleanup: break hier_code type out. We don't need the rest. */
 
41
#include "enums.h"
 
42
 
40
43
class HierarchyLogEntry
41
44
{
42
45
 
53
56
    struct timeval peer_select_start;
54
57
 
55
58
    struct timeval store_complete_stop;
 
59
    
 
60
    http_status peer_reply_status; ///< last HTTP status code received
 
61
    timeval peer_http_request_sent; ///< last peer finished writing req
 
62
    int64_t peer_response_time; ///< last peer response delay
 
63
    timeval first_conn_start; ///< first connection use among all peers
 
64
    int64_t total_response_time; ///< cumulative for all peers
56
65
};
57
66
 
58
67
extern void hierarchyNote(HierarchyLogEntry *, hier_code, const char *);