Browse code

tls: more config vars displayed by the tls.options RPC

Added send_close_notify and debug to the list of displayed config
options.

Andrei Pelinescu-Onciul authored on 15/08/2010 23:04:18
Showing 1 changed files
... ...
@@ -203,7 +203,7 @@ static void tls_options(rpc_t* rpc, void* c)
203 203
 {
204 204
 	void* handle;
205 205
 	rpc->add(c, "{", &handle);
206
-	rpc->struct_add(handle, "dSdddSSSSdSSdddddddddddd",
206
+	rpc->struct_add(handle, "dSdddSSSSdSSdddddddddddddd",
207 207
 		"force_run",	cfg_get(tls, tls_cfg, force_run),
208 208
 		"method",		&cfg_get(tls, tls_cfg, method),
209 209
 		"verify_certificate", cfg_get(tls, tls_cfg, verify_cert),
... ...
@@ -218,12 +218,14 @@ static void tls_options(rpc_t* rpc, void* c)
218 218
 		"session_id",		&cfg_get(tls, tls_cfg, session_id),
219 219
 		"config",			&cfg_get(tls, tls_cfg, config_file),
220 220
 		"log",				cfg_get(tls, tls_cfg, log),
221
+		"debug",			cfg_get(tls, tls_cfg, debug),
221 222
 		"connection_timeout", TICKS_TO_S(cfg_get(tls, tls_cfg, con_lifetime)),
222 223
 		"disable_compression",	cfg_get(tls, tls_cfg, disable_compression),
223 224
 		"ssl_release_buffers",	cfg_get(tls, tls_cfg, ssl_release_buffers),
224 225
 		"ssl_freelist_max",		cfg_get(tls, tls_cfg, ssl_freelist_max),
225 226
 		"ssl_max_send_fragment", cfg_get(tls, tls_cfg, ssl_max_send_fragment),
226 227
 		"ssl_read_ahead",		cfg_get(tls, tls_cfg, ssl_read_ahead),
228
+		"send_close_notify",	cfg_get(tls, tls_cfg, send_close_notify),
227 229
 		"low_mem_threshold1",	cfg_get(tls, tls_cfg, low_mem_threshold1),
228 230
 		"low_mem_threshold2",	cfg_get(tls, tls_cfg, low_mem_threshold2),
229 231
 		"ct_wq_max",			cfg_get(tls, tls_cfg, ct_wq_max),