~ubuntu-branches/ubuntu/intrepid/haproxy/intrepid

« back to all changes in this revision

Viewing changes to include/common/defaults.h

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2008-03-09 21:30:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080309213029-8oupnrc607mg5uqw
Tags: 1.3.14.3-1
* New Upstream Version
* Add status argument support to init-script to conform to LSB.
* Cleanup pidfile after stop in init script. Init script return code fixups.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
#define REQURI_LEN      1024
44
44
#define CAPTURE_LEN     64
45
45
 
 
46
// maximum line size when parsing config
 
47
#ifndef LINESIZE
 
48
#define LINESIZE        2048
 
49
#endif
 
50
 
46
51
// max # args on a configuration line
47
 
#define MAX_LINE_ARGS   40
 
52
#define MAX_LINE_ARGS   64
48
53
 
49
54
// max # of added headers per request
50
55
#define MAX_NEWHDR      10
115
120
#define DEFAULT_MAXCONN SYSTEM_MAXCONN
116
121
#endif
117
122
 
 
123
/* Minimum check interval for spread health checks. Servers with intervals
 
124
 * greater than or equal to this value will have their checks spread apart
 
125
 * and will be considered when searching the minimal interval.
 
126
 * Others will be ignored for the minimal interval and will have their checks
 
127
 * scheduled on a different basis.
 
128
 */
 
129
#ifndef SRV_CHK_INTER_THRES
 
130
#define SRV_CHK_INTER_THRES 1000
 
131
#endif
 
132
 
 
133
/* Specifies the string used to report the version and release date on the
 
134
 * statistics page. May be defined to the empty string ("") to permanently
 
135
 * disable the feature.
 
136
 */
 
137
#ifndef STATS_VERSION_STRING
 
138
#define STATS_VERSION_STRING " version " HAPROXY_VERSION ", released " HAPROXY_DATE
 
139
#endif
 
140
 
118
141
#endif /* _COMMON_DEFAULTS_H */