Module: sip-router Branch: master Commit: 866a36998ffee5fd7ce182c5dd6ca16c0231bd8c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=866a3699...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Tue May 25 15:15:38 2010 +0200
tcp: filled description of tcp_accept_no_cl
- added missing description in tcp options structure
---
tcp_options.c | 2 ++ tcp_options.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tcp_options.c b/tcp_options.c index 79fe196..734f9fb 100644 --- a/tcp_options.c +++ b/tcp_options.c @@ -110,6 +110,8 @@ static cfg_def_t tcp_cfg_def[] = { "flags used for adding new aliases (FORCE_ADD:1 , REPLACE:2) "}, { "new_conn_alias_flags", CFG_VAR_INT | CFG_ATOMIC, 0, 2, 0, 0, "flags for the def. aliases for a new conn. (FORCE_ADD:1, REPLACE:2 "}, + { "accept_no_cl", CFG_VAR_INT | CFG_ATOMIC, 0, 1, 0, 0, + "accept TCP messges without Content-Lenght "}, /* internal and/or "fixed" versions of some vars (not supposed to be writeable, read will provide only debugging value*/ { "rd_buf_size", CFG_VAR_INT | CFG_ATOMIC, 512, 65536, 0, 0, diff --git a/tcp_options.h b/tcp_options.h index ae8215c..f869c9a 100644 --- a/tcp_options.h +++ b/tcp_options.h @@ -138,10 +138,11 @@ struct cfg_group_tcp{ int accept_aliases; int alias_flags; int new_conn_alias_flags; + int accept_no_cl; /* on/off - accpet messages without content-lenght */ + /* internal, "fixed" vars */ unsigned int rd_buf_size; /* read buffer size (should be > max. datagram)*/ unsigned int wq_blk_size; /* async write block size (debugging use) */ - int accept_no_cl; /* on/off - accpet messages without content-lenght */ };
extern struct cfg_group_tcp tcp_default_cfg;