[sr-dev] git:andrei/tcp_tls_changes: tls: more config vars displayed by the tls. options RPC

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Aug 16 01:10:08 CEST 2010


Module: sip-router
Branch: andrei/tcp_tls_changes
Commit: cb90d8866c35c54d3b7d624edca7883f42300966
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cb90d8866c35c54d3b7d624edca7883f42300966

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Mon Aug 16 01:04:18 2010 +0200

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

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

---

 modules/tls/tls_rpc.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/tls/tls_rpc.c b/modules/tls/tls_rpc.c
index 0013142..3fabcf6 100644
--- a/modules/tls/tls_rpc.c
+++ b/modules/tls/tls_rpc.c
@@ -203,7 +203,7 @@ static void tls_options(rpc_t* rpc, void* c)
 {
 	void* handle;
 	rpc->add(c, "{", &handle);
-	rpc->struct_add(handle, "dSdddSSSSdSSdddddddddddd",
+	rpc->struct_add(handle, "dSdddSSSSdSSdddddddddddddd",
 		"force_run",	cfg_get(tls, tls_cfg, force_run),
 		"method",		&cfg_get(tls, tls_cfg, method),
 		"verify_certificate", cfg_get(tls, tls_cfg, verify_cert),
@@ -218,12 +218,14 @@ static void tls_options(rpc_t* rpc, void* c)
 		"session_id",		&cfg_get(tls, tls_cfg, session_id),
 		"config",			&cfg_get(tls, tls_cfg, config_file),
 		"log",				cfg_get(tls, tls_cfg, log),
+		"debug",			cfg_get(tls, tls_cfg, debug),
 		"connection_timeout", TICKS_TO_S(cfg_get(tls, tls_cfg, con_lifetime)),
 		"disable_compression",	cfg_get(tls, tls_cfg, disable_compression),
 		"ssl_release_buffers",	cfg_get(tls, tls_cfg, ssl_release_buffers),
 		"ssl_freelist_max",		cfg_get(tls, tls_cfg, ssl_freelist_max),
 		"ssl_max_send_fragment", cfg_get(tls, tls_cfg, ssl_max_send_fragment),
 		"ssl_read_ahead",		cfg_get(tls, tls_cfg, ssl_read_ahead),
+		"send_close_notify",	cfg_get(tls, tls_cfg, send_close_notify),
 		"low_mem_threshold1",	cfg_get(tls, tls_cfg, low_mem_threshold1),
 		"low_mem_threshold2",	cfg_get(tls, tls_cfg, low_mem_threshold2),
 		"ct_wq_max",			cfg_get(tls, tls_cfg, ct_wq_max),




More information about the sr-dev mailing list