Roxen.git
/
server
/
etc
/
include
/
config.h
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/include/config.h:1:
/* -*- Pike -*- * User configurable things not accessible from the normal * configuration interface. Not much, but there are some things.. */ #ifndef _ROXEN_CONFIG_H_ #define _ROXEN_CONFIG_H_ #if efun(thread_create)
+
// Some OS's (eg Linux) can get severe problems (PANIC)
+
// if threads are enabled.
+
//
+
// If it works, good for you. If it doesn't, too bad.
+
#ifdef ENABLE_THREADS
# define THREADS
-
#endif
+
#endif
/* ENABLE_THREADS */
+
#endif /* efun(thread_create) */
/* Reply 'PONG\r\n' to the query 'PING\r\n'. * For performance tests... */ #define SUPPORT_PING_METHOD #define SUPPORT_HTACCESS
Roxen.git/server/etc/include/config.h:38:
* Each higher level also include the debug of the lower levels. * Use the defines in the rightmost column if you want to enable * specific debug features. * * You can also start roxen with any debug enabled like this: * bin/pike -DMODULE_DEBUG -m etc/master.pike roxenloader * * Some other debug thingies: * HTACCESS_DEBUG * SSL_DEBUG
+
* NEIGH_DEBUG
*/
-
+
// #define HTACCESS_DEBUG
+
/* #undef DEBUG_LEVEL */ #ifndef DEBUG_LEVEL #define DEBUG_LEVEL DEBUG #endif #if DEBUG_LEVEL > 19 #ifndef SOCKET_DEBUG #define SOCKET_DEBUG #endif #endif /* Do we want module level deny/allow security (IP-numbers and usernames). * 1% speed loss, as an average. (That is, if your CPU is used to the max. * it probably isn't..) */ #define MODULE_LEVEL_SECURITY
-
+
/* Roxen neighbourhood
+
*
+
* Experimental. Currently does not work on all Operating Systems.
+
*/
+
// #define ENABLE_NEIGHBOURHOOD
+
/* If set, the maximum, minimum and average time used to serve * requests is logged. * This (rusage()) is broken on some systems, and the server will be * somewhat ( < 5% ) slower with this enabled. * * CURRENTLY NOT SUPPORTED, WORK IN PROGRESS, It _did_ work in 1.0b4 :-) */ #undef USE_RUSAGE