update based on db90h's changes to the whiterussian package. note: this still needs...
[openwrt/svn-archive/archive.git] / net / openser / patches / config.h.patch
1 --- openser-1.0.0-tls.orig/config.h 2005-08-23 19:31:12.000000000 +0200
2 +++ openser-1.0.0-tls/config.h 2006-01-05 01:42:14.101159800 +0100
3 @@ -48,7 +48,7 @@
4 #define MAX_LISTEN 16
5
6 /* default number of child processes started */
7 -#define CHILD_NO 8
8 +#define CHILD_NO 4
9
10 #define RT_NO 40 /* routing tables number */
11 #define FAILURE_RT_NO RT_NO /* on_failure routing tables number */
12 @@ -68,10 +68,10 @@
13 #define CONTENT_LENGTH "Content-Length: "
14 #define CONTENT_LENGTH_LEN (sizeof(CONTENT_LENGTH)-1)
15
16 -#define USER_AGENT "User-Agent: OpenSer (" VERSION " (" ARCH "/" OS"))"
17 +#define USER_AGENT "User-Agent: OpenSer " VERSION " (boozy.milkfish.org)"
18 #define USER_AGENT_LEN (sizeof(USER_AGENT)-1)
19
20 -#define SERVER_HDR "Server: OpenSer (" VERSION " (" ARCH "/" OS"))"
21 +#define SERVER_HDR "Server: OpenSer " VERSION " (boozy.milkfish.org)"
22 #define SERVER_HDR_LEN (sizeof(SERVER_HDR)-1)
23
24 #define MAX_WARNING_LEN 256
25 @@ -113,7 +113,7 @@
26 #define PKG_MEM_POOL_SIZE 1024*1024
27
28 /*used if SH_MEM is defined*/
29 -#define SHM_MEM_SIZE 32
30 +#define SHM_MEM_SIZE 8
31
32 #define TIMER_TICK 1
33