Browse code

- TLS_HOOKS support turned on by default (this means that to use tls one needs only to compile the tls module, load it and add enable_tls=1 in the config). make TLS_HOOKS=0 will compile without tls hooks support. make CORE_TLS=1 will automatically disable the hooks and will try to compile with the old tls-in-core.

Andrei Pelinescu-Onciul authored on 10/02/2007 19:41:30
Showing 2 changed files
... ...
@@ -203,6 +203,10 @@ utils_install=	utils/gen_ha1/gen_ha1 utils/serunix/serunix \
203 203
 
204 204
 ALLDEP=Makefile Makefile.sources Makefile.defs Makefile.rules
205 205
 
206
+# by default compile with tls hooks support (so that no ser recompile is
207
+#  needed before the tls module can be used)
208
+TLS_HOOKS=1
209
+
206 210
 #include general defs (like CC, CFLAGS  a.s.o)
207 211
 # hack to force makefile.defs re-inclusion (needed when make calls itself with
208 212
 # other options -- e.g. make bin)
... ...
@@ -10,6 +10,8 @@ new archs:
10 10
 
11 11
 
12 12
 modules:
13
+ - tls        - new module that enables tls support (set enable_tls=yes
14
+                in the config file and load the tls module)
13 15
  - ctl        - new  fifo/unixsocket/xmlrpc like module, using a space 
14 16
                 efficient binary encoding for the requests.
15 17
                 It supports multiple clients on tcp, udp, unix stream or
... ...
@@ -89,6 +91,9 @@ modules:
89 89
               Vias a.s.o) and not on the original message
90 90
  
91 91
 core:
92
+ - compiled by default with tls hooks support (so that no recompile is
93
+   needed before loading the tls module and enabling the tls support)
94
+ -  enable_tls config option added (the reverse of disable_tls)
92 95
  - added STUN keep-alive functionality in accordance with 
93 96
    draft-ietf-behave-rfc3489bis-04.txt
94 97
  - dns cache and dns failover support added (see doc/dns.txt)
... ...
@@ -177,6 +182,9 @@ core:
177 177
    are available (see tm docs)
178 178
 - avps directly accessible from script with %avp_name (variable style)
179 179
 new config variables:
180
+   enable_tls/disable_tls = enable/disable tls support, default disable.
181
+       Note: a tls "engine" is still needed (e.g. the tls module must
182
+              be loaded, enable_tls by itself is not enough).
180 183
    exit_timeout = seconds - how much time ser will wait for all the shutdown
181 184
        procedures to complete. If this time is exceeded, all the remaining
182 185
        processes are immediately killed and ser exits immediately (it might