-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.conf
129 lines (90 loc) · 3.36 KB
/
config.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# Server.LogLevel -- int value
# sets main application log level
# 0 - Minimal
# 1 - Control
# 2 - Debug
Server.LogLevel = 3
# Server.Log -- bool value
# enables main applicaiton logging
# 0 - Disabled
# 1 - Enabled
Server.Log = 1
# Server.Daemonize -- bool value
# invokes main application to run as daemon
# 0 - Disabled
# 1 - Enabled
Server.Daemonize = 0
# Server.PidFile -- string value
# specifies where to store PID of daemon
# Default: /var/lock/ikaros.pid
Server.PidFile = /var/lock/ikaros.pid
# Server.WorkingDirectory -- string value
# specifies working directory of daemon
# Default: .
#Server.WorkingDirectory = .
# Server.EnableFreezeDetector -- bool value
# enables Freeze Detector of handling thread
# 0 - Disabled
# 1 - Enabled
Server.EnableFreezeDetector = 0
# Server.FreezeDetectorMaxDiff -- int value
# sets maximal wait time before thread is specified as Freezed
# values are in milliseconds
Server.FreezeDetectorMaxDiff = 30000
# Protocol.BindPort -- short value ( 0 - 65535 )
# sets main listening socket bind port
Protocol.BindPort = 35000
# Protocol.BindIp -- string value
# sets main listneing socket bind IP ( 0.0.0.0 all interfaces )
# a.b.c.d
Protocol.BindIp = 0.0.0.0
# Protocol.ProtocolName -- string value
# sets protocol name
Protocol.ProtocolName = HTTP
# Protocol.LibraryPath -- string value
# sets path to library
Protocol.LibraryPath = ./libFTP.so
# Protocol.RecvFunc -- string value
# sets protocol onRecieve function name
Protocol.RecvFunc = processRecieve
# Protocol.SendFunc -- string value
# sets protocol onSend function name
#Protocol.SendFunc =
# Protocol.ConnectFunc -- string value
# sets protocol onConnect function name
Protocol.ConnectFunc = processConnect
# Protocol.DisconnectFunc -- string value
# sets protocol onDisconnect function name
Protocol.DisconnectFunc = processDisconnect
# Protocol.DelayedRecvFunc -- string value
# sets protocol onRecieveDelayed function name
#Protocol.DelayedRecvFunc =
# Protocol.DelayedRecvDelay -- int value
# sets protocol onRecieveDelayed delay time
#Protocol.DelayedRecvDelay =
# Protocol.DelayedSendFunc -- string value
# sets protocol onSendDelayed function name
#Protocol.DelayedSendFunc =
# Protocol.DelayedSendDelay -- int value
# sets protocol onSendDelayed delay time
#Protocol.DelayedSendDelay =
# Protocol.DelayedConnectFunc -- string value
# sets protocol onConnectDelayed function name
#Protocol.DelayedConnectFunc =
# Protocol.DelayedConnectDelay -- int value
# sets protocol onConnectDelayed delay time
#Protocol.DelayedConnectDelay =
# Protocol.DelayedDisconnectFunc -- string value
# sets protocol onDisconnectDelayed function name
#Protocol.DelayedDisconnectFunc =
# Protocol.DelayedDisconnectDelay -- int value
# sets protocol onDisconnectDelayed delay time
#Protocol.DelayedDisconnectDelay =
# Protocol.LoadFunc -- string value
# sets protocol onLoad function name
# called when main application loads library
Protocol.LoadFunc = Init
# Protocol.UnloadFunc -- string value
# sets protocol onUnload function name
# called before main application frees library
#Protocol.UnloadFunc =