~ubuntu-branches/ubuntu/trusty/haproxy/trusty-updates

« back to all changes in this revision

Viewing changes to include/common/defaults.h

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2009-10-19 22:31:45 UTC
  • mfrom: (1.2.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20091019223145-rymupk5njs544bvp
ImportĀ upstreamĀ versionĀ 1.3.22

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
#define LINESIZE        2048
59
59
#endif
60
60
 
 
61
// max # of configuration files
 
62
#define MAX_CFG_FILES   10
 
63
 
61
64
// max # args on a configuration line
62
65
#define MAX_LINE_ARGS   64
63
66
 
143
146
 * command-line '-n' argument.
144
147
 */
145
148
#ifndef SYSTEM_MAXCONN
 
149
#ifndef DEFAULT_MAXCONN
146
150
#define DEFAULT_MAXCONN 2000
 
151
#endif
147
152
#else
 
153
#undef  DEFAULT_MAXCONN
148
154
#define DEFAULT_MAXCONN SYSTEM_MAXCONN
149
155
#endif
150
156
 
173
179
#define MAX_SIGNAL 256
174
180
#endif
175
181
 
 
182
/* Maximum host name length */
 
183
#ifndef MAX_HOSTNAME_LEN
 
184
#define MAX_HOSTNAME_LEN        32
 
185
#endif
 
186
 
176
187
#endif /* _COMMON_DEFAULTS_H */