Browse code

tcp: filled description of tcp_accept_no_cl

- added missing description in tcp options structure

Daniel-Constantin Mierla authored on 25/05/2010 13:15:38
Showing 2 changed files
... ...
@@ -110,6 +110,8 @@ static cfg_def_t tcp_cfg_def[] = {
110 110
 		"flags used for adding new aliases (FORCE_ADD:1 , REPLACE:2) "},
111 111
 	{ "new_conn_alias_flags", CFG_VAR_INT | CFG_ATOMIC, 0,    2,  0,         0,
112 112
 		"flags for the def. aliases for a new conn. (FORCE_ADD:1, REPLACE:2 "},
113
+	{ "accept_no_cl",   CFG_VAR_INT | CFG_ATOMIC,   0,        1,  0,         0,
114
+		"accept TCP messges without Content-Lenght "},
113 115
 	/* internal and/or "fixed" versions of some vars
114 116
 	   (not supposed to be writeable, read will provide only debugging value*/
115 117
 	{ "rd_buf_size", CFG_VAR_INT | CFG_ATOMIC,    512,    65536,  0,         0,
... ...
@@ -138,10 +138,11 @@ struct cfg_group_tcp{
138 138
 	int accept_aliases;
139 139
 	int alias_flags;
140 140
 	int new_conn_alias_flags;
141
+	int accept_no_cl;  /* on/off - accpet messages without content-lenght */
142
+
141 143
 	/* internal, "fixed" vars */
142 144
 	unsigned int rd_buf_size; /* read buffer size (should be > max. datagram)*/
143 145
 	unsigned int wq_blk_size; /* async write block size (debugging use) */
144
-	int accept_no_cl;  /* on/off - accpet messages without content-lenght */
145 146
 };
146 147
 
147 148
 extern struct cfg_group_tcp tcp_default_cfg;