config.h: remove some obsolete options, move MAX_BUFFER to tunable section
This commit is contained in:
parent
493a1c6f02
commit
acba5bbe80
|
@ -96,18 +96,6 @@
|
||||||
*/
|
*/
|
||||||
#undef TS6_ONLY
|
#undef TS6_ONLY
|
||||||
|
|
||||||
/* USE_LOGFILE - log errors and such to LPATH
|
|
||||||
* If you wish to have the server send 'vital' messages about server
|
|
||||||
* to a logfile, define USE_LOGFILE.
|
|
||||||
*/
|
|
||||||
#define USE_LOGFILE
|
|
||||||
|
|
||||||
/* CLIENT_FLOOD - client excess flood threshold(in messages)
|
|
||||||
* The number of messages that we can receive before we disconnect the
|
|
||||||
* remote client...
|
|
||||||
*/
|
|
||||||
#define CLIENT_FLOOD 20
|
|
||||||
|
|
||||||
/* HANGONGOODLINK and HANGONRETRYDELAY
|
/* HANGONGOODLINK and HANGONRETRYDELAY
|
||||||
* Often net breaks for a short time and it's useful to try to
|
* Often net breaks for a short time and it's useful to try to
|
||||||
* establishing the same connection again faster than CONNECTFREQUENCY
|
* establishing the same connection again faster than CONNECTFREQUENCY
|
||||||
|
@ -133,6 +121,12 @@
|
||||||
*/
|
*/
|
||||||
#define RATBOX_SOMAXCONN 25
|
#define RATBOX_SOMAXCONN 25
|
||||||
|
|
||||||
|
/* MAX_BUFFER
|
||||||
|
* The amount of fds to reserve for clients exempt from limits
|
||||||
|
* and dns lookups.
|
||||||
|
*/
|
||||||
|
#define MAX_BUFFER 60
|
||||||
|
|
||||||
/* ----------------------------------------------------------------
|
/* ----------------------------------------------------------------
|
||||||
* STOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOP
|
* STOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOP
|
||||||
* ----------------------------------------------------------------
|
* ----------------------------------------------------------------
|
||||||
|
@ -140,12 +134,6 @@
|
||||||
* ----------------------------------------------------------------
|
* ----------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* MAX_BUFFER
|
|
||||||
* The amount of fds to reserve for clients exempt from limits
|
|
||||||
* and dns lookups.
|
|
||||||
*/
|
|
||||||
#define MAX_BUFFER 60
|
|
||||||
|
|
||||||
#define CONFIG_RATBOX_LEVEL_2
|
#define CONFIG_RATBOX_LEVEL_2
|
||||||
|
|
||||||
#include "defaults.h"
|
#include "defaults.h"
|
||||||
|
|
|
@ -96,18 +96,6 @@
|
||||||
*/
|
*/
|
||||||
#undef TS6_ONLY
|
#undef TS6_ONLY
|
||||||
|
|
||||||
/* USE_LOGFILE - log errors and such to LPATH
|
|
||||||
* If you wish to have the server send 'vital' messages about server
|
|
||||||
* to a logfile, define USE_LOGFILE.
|
|
||||||
*/
|
|
||||||
#define USE_LOGFILE
|
|
||||||
|
|
||||||
/* CLIENT_FLOOD - client excess flood threshold(in messages)
|
|
||||||
* The number of messages that we can receive before we disconnect the
|
|
||||||
* remote client...
|
|
||||||
*/
|
|
||||||
#define CLIENT_FLOOD 20
|
|
||||||
|
|
||||||
/* HANGONGOODLINK and HANGONRETRYDELAY
|
/* HANGONGOODLINK and HANGONRETRYDELAY
|
||||||
* Often net breaks for a short time and it's useful to try to
|
* Often net breaks for a short time and it's useful to try to
|
||||||
* establishing the same connection again faster than CONNECTFREQUENCY
|
* establishing the same connection again faster than CONNECTFREQUENCY
|
||||||
|
@ -133,6 +121,12 @@
|
||||||
*/
|
*/
|
||||||
#define RATBOX_SOMAXCONN 25
|
#define RATBOX_SOMAXCONN 25
|
||||||
|
|
||||||
|
/* MAX_BUFFER
|
||||||
|
* The amount of fds to reserve for clients exempt from limits
|
||||||
|
* and dns lookups.
|
||||||
|
*/
|
||||||
|
#define MAX_BUFFER 60
|
||||||
|
|
||||||
/* ----------------------------------------------------------------
|
/* ----------------------------------------------------------------
|
||||||
* STOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOP
|
* STOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOP
|
||||||
* ----------------------------------------------------------------
|
* ----------------------------------------------------------------
|
||||||
|
@ -140,12 +134,6 @@
|
||||||
* ----------------------------------------------------------------
|
* ----------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* MAX_BUFFER
|
|
||||||
* The amount of fds to reserve for clients exempt from limits
|
|
||||||
* and dns lookups.
|
|
||||||
*/
|
|
||||||
#define MAX_BUFFER 60
|
|
||||||
|
|
||||||
#define CONFIG_RATBOX_LEVEL_2
|
#define CONFIG_RATBOX_LEVEL_2
|
||||||
|
|
||||||
#include "defaults.h"
|
#include "defaults.h"
|
||||||
|
|
Loading…
Reference in New Issue